I've written a game in JavaScript which runs completely client-side. In the game, the player solves puzzles to progress to the next game level. I store the current game level in a cookie, so that they can reload the page and continue from the last level they achieved.
Unfortunately, the user can edit the cookie and thus go directly to any game level. I want to prevent that. What are my options?