Introduction To Project
Introduction To Project
My project is a Web based "Tic-Tac-Toe" game also called as "noughts and crosses" or "Xs and Os" this
game is very popular and is fairly simple by itself.
This game is for two players who take turns marking the spaces in a three-by-three grid with X or O. The
player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row is the
winner.
In the following example, the first player (X) wins the game in seven steps:
There is no universally agreed rule as to who plays first, but here the convention that X plays first is
used.
Flowchart:
Methodology:
We will be implementing a Web application hosting the game based on HTML, CSS and JAVASCRIPT.
It will a single player game (for now) as the second player will be a bot.
A mouse-click based interface, where player has to click within the grid as per his choice.
As the player or the bot succeeds in placing three of their marks in position as horizontally, vertically, or
diagonally within the grid, will win the game. If none of them succeeds to put the marks in such a way,
the game will be drawn
Future Add-ons:
Implementation of play between two players, so can be played between two people from anywhere.
Choice of difficulty of game when played with bot like easy, medium or hard.