tic-tac-toe

Simple tic-tac-toe game built using HTML, CSS, and JavaScript. For more information about the game, click here.

Run on Terminal

google-chrome index.html

Rules

  • Two players take turns: placing 'X' and 'O' marks in empty spaces on a 3x3 square grid.
  • Player with the 'X' mark starts first. The first player to place 3 marks in a vertical, horizontal, or diagonal row wins the game.
  • If all spaces are filled, the game ends in a draw.

Author

👤 Henry Omondi