kevinlinxc / pixel-brush

Guess the league of legends champion by their pixelated portrait. Starts at 3x3 pixels and increases as you guess wrong.
0 stars 0 forks source link

Add leaderboard #1

Open kevinlinxc opened 5 days ago

kevinlinxc commented 5 days ago

It would be cool to have a leaderboard of scores, however, there are a few problems in the way

This app is static; it has no backend, so it cannot talk to a server or database easily.

I figured I could use google sheets as a database instead, and then send a post request from React to it, but I was having trouble setting that up, maybe due to CORS, I don't know how to debug it so I'm giving up for now.

If you want to help me with this, I think we just need to store the desired username/handle, score, and time it took to complete.

kevinlinxc commented 5 days ago

I've added it as a simple google form for now, maybe not the best solution but good enough for now