Tic Tac Toe
Introduction:
Tic-tac-toe is a paper-and-pencil game for two players, X and O,
who take turns marking the spaces in a 3×3, 4 x 4 and 5x5 grid. The player who
succeeds in placing three of their marks in a horizontal, vertical, or diagonal
row wins the game.
The
following example game is won by the first player, X:
Features:
- · Single Player Feature ( You vs Computer)
- · Multiple Player
- · Code is Generic means you can play 3x3 , 4x4,5x5 and so on…
- · Computer Intelligence
- · Save Game and Delete Game
- · Modular code you can change it easily
Usage:
- Run the Code
- First read the instruction and then press any key for continue.
- Menu will appear, ask you for save game , new game and delete game. Press 3 for New game.
- Menu will appear, ask you multiplayer or single player. Enter you choice.
- Menu will appear, ask you which type of Grid you want to play. Enter you choice.
- Play your game. If you want to save game press S/s or for exit press E/e.
No comments:
Post a Comment