zaycation / jewel-jack

A react based successor to blackjack - with jewels of course!!
4 stars 5 forks source link

Save leaderboard entries to a json file #16

Open zaycation opened 3 years ago

zaycation commented 3 years ago

Currently, when a user plays 5 games, they are prompted to add their current stats to our leaderboard. Unfortunately, the leaderboard is only saved to the state temporarily and will disappear upon refresh.

As we are transitioning towards the backend, create a json file in order to store the leaderboard results in an object. This will immensely help us once we move over to our mongodb database.