flappy-svg icon indicating copy to clipboard operation
flappy-svg copied to clipboard

Server: Create leader board.

Open niccokunzmann opened this issue 9 years ago • 7 comments

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 avatar Feb 12 '16 15:02 niccokunzmann

@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?

SilentFlame avatar Feb 12 '16 23:02 SilentFlame

It can be played online and offline. We can create a local leaderboard for the app or also a global leaderboard.

niccokunzmann avatar Feb 13 '16 08:02 niccokunzmann

That sounds cool. How can I help you in this?

SilentFlame avatar Feb 13 '16 10:02 SilentFlame

We need to specify how this would work and collect ideas and implementation hints so other people not so experienced can do this, too.

niccokunzmann avatar Feb 16 '16 08:02 niccokunzmann

#104 creates a file for the leader board.

niccokunzmann avatar Feb 18 '16 09:02 niccokunzmann

@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.

abishekvashok avatar Dec 25 '16 09:12 abishekvashok

@SilentFrame are you at this?

abishekvashok avatar Jan 20 '17 06:01 abishekvashok