Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 1.18 KB

File metadata and controls

20 lines (11 loc) · 1.18 KB

Mini Project 3.2a: Using Local Storage

Credit to Shift_Up coach Raevan Gregson

Become

Welcome to Mini Project 3.2a

Congrats! You now have a small app built with React. Now, how can we keep the current game when our window or browser closes? Often, we want to keep the state of something without writing to a database. We do this through something called Local Storage.

For this project, your job is to learn about local storage and implement it in your Tic-Tac-Toe game. After you're done, users should be able to refresh their page or close their browser, and in each case return to the game as they left it.

Here is a great article to get you started.

Mini Project Instructions

  1. Update your game so that after each move, the state of the game is saved to local storage. You should be able to refresh your window or close it entirely, and still return to the game as you left it.

  2. Add a button allowing users to start over (reset the game, and clear local storage).

  3. Create a new branch and then new Pull Request and assign it to your coach for review.