Skip to content

Latest commit

 

History

History
13 lines (12 loc) · 506 Bytes

directions.md

File metadata and controls

13 lines (12 loc) · 506 Bytes

Tic Tac Toe

  1. Create a grid of nine boxes
  2. When any box is clicked a red X appears
  3. When the next box is clicked a Blue O appears
  4. #1 and #2 are repeated until a row of 3 of the same character is created
  5. When a win happens:
    1. Alert the players who won
    2. Disallow any further clicks on the game board
    3. Display a Play Again button that resets the game
  6. For a tie:
    1. Alert players that game has ended in a tie
    2. Display a Play Again button that resets the game