Duration
2 min
Access
Pro
Transcript
Available

Our tic-tac-toe board works and can be played, but it can't be reset once the game is won or the board is full. Adding this is simple. We'll add another case to our reducer and use a function to regenerate the initialState of our game.