Skip to content

Instantly share code, notes, and snippets.

@xgracias
Created October 25, 2020 17:56
Show Gist options
  • Save xgracias/979e055afc1fd8f57bd789a438041e04 to your computer and use it in GitHub Desktop.
Save xgracias/979e055afc1fd8f57bd789a438041e04 to your computer and use it in GitHub Desktop.
TicTacToe game in React
@xgracias
Copy link
Author

xgracias commented Nov 11, 2020

Changed colors following iCivics

Text color with black from iCivics logo
Reset button color with orange from iCivics logo
Each block color with green from give slot

@xgracias
Copy link
Author

When it comes to strategy, this game is really a piece of cake.

I’ve created a tic-tac-toe game that:

  • Lets you play tic-tac-toe,
  • Indicates when a player has won the game,
  • Stores a game’s history as a game progresses,
  • Allows players to review a game’s history and see previous versions of a game’s board.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment