The game has well-written code and a great anti-cheat system, but I still managed to get #1 on the leaderboard with a negative time score! Here's how I did it: First, I opened the browser's developer console (F12) and discovered that the game validates scores on the client-side rather than the server-side. This meant I could directly call the submitScore() function from the console. By examining the game's code structure, I found that scores are stored in Firebase as simple millisecond values. I then submitted a fake score using submitScore("samuel crevier", -5000), which gave me a time of negative 5 seconds. Since the leaderboard sorts by lowest time first, my impossible negative score shot straight to the top! The game's anti-cheat couldn't stop this because all the validation happens in the browser, where players have full control. To make the system truly secure, the developers would need to validate scores on the server-side and check for impossible values like negative times or times that are impossibly fast given the game's mechanics. For now though, I'm sitting pretty at #1 with a time that breaks the laws of physics! 😄
GG