-
Notifications
You must be signed in to change notification settings - Fork 1
RemoteStorage subsystem
The database is responsible for storing the user's most recent high score. This will allow multiple clients of the shapes app to view their friend's high scores while playing online. Additionally, the database will maintain a seed used for loading the same block configurations on every clients screen when "playing with friends". Users will be able to play with their friends by challenging a friends highscore, to do so the challenger will select the friend which will in turn pull the friends blockseed used to attain their highscore. The remote database also generates and stores a login token used to authenticate client applications and prevent users from having to continually log in every time they open the app. Lastly, the server runs a cron job every day that generates a blockseed which all users can access and play a game with until the next day.