I made a very simple Flash game a few years back for a college class. It was quite fun. I had been thinking about recreating it with HTML and JS (and probably leveraging some HTML5 features like canvas). I figured it could be a cool game for iPhone/Android/WebOS phones, as well.
My biggest concern with doing this is cheating. This simple game had a scoreboard (Flash submitting a POST request to a PHP script, with some authentication/validation). The biggest drive to playing the game over and over was the scoreboard. I'm afraid that moving it HTML+JS would make it easy to cheat. (Example: Using Firebug to change the JavaScript to stop the countdown timer from working.) With Flash, the users don't know what's going on. The best they could do was intercept the POST traffic and see what's being sent.
I suppose I could use things like the YUI Compressor to keep the JS harder to modify. (http://developer.yahoo.com/yui/compressor/)
I'm more curious on ideas for Flash game developers moving to HTML5. I probably haven't touched Flash since I made this game in college, so I don't know how Flash is these days. Any advice on how to handle potential cheaters would be great. Any other advice on moving Flash games to HTML5 for other developers could be helpful too.
Thanks!