flappy-svg
flappy-svg copied to clipboard
Server: Create leader board.
Once we have a score, we can create a leader board. We need
- a server that hosts the leader board
- post scores and names to the boad
- show the list of people who have scores.
Please discuss how to do this and post your ideas here so we can make a better specification.
@niccokunzmann
are we developing this as a game which can be played both online and offline?
or the thing is about just the score upload by the players?
It can be played online and offline. We can create a local leaderboard for the app or also a global leaderboard.
That sounds cool. How can I help you in this?
We need to specify how this would work and collect ideas and implementation hints so other people not so experienced can do this, too.
#104 creates a file for the leader board.
@niccokunzmann we could add a post request to a specific url after gameover and record the score with the username which should be provided when game is over, we will neglect it for score < 1 (i.e, 0). We could implement security too by making a hash pair between the server and client so that the score does'not get updated without playing the game.
@SilentFrame are you at this?