Re:Show HN: Rocket Drone, a lunar lander type game for the web
by TedDoesntTalk on Saturday August 13, 2022 @04:40PM
(#32453577)
How do you implement a leaderboard that can’t be spoofed with REST POST calls from curl or postman?(Genuine question for my own JavaScript game) doesn’t need to be perfect just a barrier that makes it painful to spoof easily
[ Parent
| on HN ]
Re:Show HN: Rocket Drone, a lunar lander type game for the web
by someweirdperson on Saturday August 13, 2022 @05:05PM
(#32453784)
Include the complete inputs for the solution, and verify on upload.
Then don't accept dupes and make the leaders winning flights watchable.
Re:Show HN: Rocket Drone, a lunar lander type game for the web
by crispisulcans on Saturday August 13, 2022 @05:17PM
(#32453884)
Yes this is what I'm thinking. The replay links already include the full input. I would then just have to verify it and show the link for each entry.
For example this is my flight just now for today's daily with a time of 12.97s: https://rocket-drone.lol/?level=5550594399&replay=IIgmIUWAJB...
Re:Show HN: Rocket Drone, a lunar lander type game for the web
by someweirdperson on Saturday August 13, 2022 @05:37PM
(#32454034)
Ooooh, replays already exist. I didn't notice the button.
https://rocket-drone.lol/?level=9&replay=IIiKIUWARAOBhYBzAQg...
Re:Show HN: Rocket Drone, a lunar lander type game for the web
by crispisulcans on Saturday August 13, 2022 @06:01PM
(#32454201)
nice one!
Re:Show HN: Rocket Drone, a lunar lander type game for the web
by someweirdperson on Saturday August 13, 2022 @05:54PM
(#32454141)
sub-10s. feels like cheating with slowed reality of course.
https://rocket-drone.lol/?level=5550594399&replay=IIhSIUWBhB...
Re:Show HN: Rocket Drone, a lunar lander type game for the web
by crispisulcans on Saturday August 13, 2022 @06:41PM
(#32454497)
a little downward boost at the beginning, trading away some health for time, love it!
Re:Show HN: Rocket Drone, a lunar lander type game for the web
by fouronnes3 on Saturday August 13, 2022 @05:08PM
(#32453802)
This requires deterministic physics.
Re:Show HN: Rocket Drone, a lunar lander type game for the web
by TedDoesntTalk on Sunday August 14, 2022 @09:13PM
(#32464780)
Save the random seed