Skip to content

weibruce/tictactoe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Tic Tac Toe

"Tic Tac Toe" and "Noughts and crosses" redirect here. For other uses, see Tic Tac Toe (disambiguation) and Noughts and crosses (disambiguation).

Tic-tac-toe (also known as noughts and crosses or Xs and Os) is a paper-and-pencil game for two players, X and O, who take turns marking the spaces in a 3×3 grid. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row wins the game.

Online Demo https://weibruce.github.io/tictactoe/

Feature

  • Lifting State Up
  • Why Immutability Is Important
  • Functional Components
  • Taking Turns
  • Declaring a Winner
  • Adding Time Travel
  • Storing a History of Moves
  • Lifting State Up, Again
  • Showing the Past Moves
  • Picking a Key
  • Implementing Time Travel
  • Wrapping Up

About

React Game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published