A 2D-console based game with some thrilling experience and score boarding for the user. Tic-tac-toe (American English), noughts and crosses (Commonwealth English), or Xs and Os (Canadian or Irish English) is a game 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. It is a solved game, with a forced draw assuming best play from both players. I have designed it as a 2D Console based game.
Following are rules to play the game:
- There are two players in the game.
- The game is played on a grid that's 3 squares by 3 squares.
- Players take turns putting their respective marks in empty squares.
- The first player to get 3 of her marks in a row (up, down, across, or diagonally) is the winner.
- When all 9 squares are full, the game is draw.
Libraries of C++ used in development of game:
- iostream
- conio.h
- windows.h
- stdlib.h
Follwing technologies have been used in development of game:
- C++