Skip to content

Instantly share code, notes, and snippets.

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

bullishgopher 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

@bullishgopher
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