Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 672 Bytes

README.md

File metadata and controls

12 lines (10 loc) · 672 Bytes

O-X (Naughts and Crosses)

version

The classic game of naughts and crosses (a.k.a. Tic Tac Toe), but in a console.

Gameplay:

  • You can only win by getting a complete row, column or a diagonal between a pair of opposite corners of the board.
  • You can skip your turn by typing s. Alternatively, restart the game by typing r or quit the program using q.

Features:

  • Follows the same rules as the normal game.
  • Offers an optional board size: the square board can be between 3 and 9 squares in width/height.
  • Includes an option to play again.