SnakeTron
SnakeTron copied to clipboard
Too much trust given to players
Your server is giving too much trust to players. I know it takes server CPU to actually check if people are cheating, but if you don't want the game to be ruined it's pretty important. In seconds, I modified my client script to constantly be searching for games (so I was playing many at once), not let myself die, and instantly eat every snack.
It looks like this opened the floodgates as everyone else is now cheating, too.
I am glad you HTML-escaped usernames, though, or else I would have stolen everyone's passwords, flashed the screen annoyingly, made the game unplayable, and displayed gay porn.