   [web] HTML5 Canvas Vs Flash game security
  I am planning to create some small games, I have some experience in html, &#106avascript, php, mysql, and basic opengl.So I was wondering if I should pick up flash to create games or tryout new html5 canvas feature because I alr know &#106avascript. I might be able to develop faster than learning something new(flash).and also html5 might be the future rather than flash ( though still controversial....... )My main concern is by using &#106avascript & canvas, the code/logic of the game can be seen and hence cheating problem arises. Flash however sandbox logic in the swf, which is not so easy to cheat.so i am not sure which to choose????hope someone can give some advice on this, do correct my if I said anything wrong as I am still new in this field.Thanks in advance =)Changed @ to a. -- jpetrie   
  I personally prefer &#106avascript to flash. If you think about it, the security isn't that much of an issue. If it's a singleplayer game, it doesn't really matter that much if the player cheats. If it's a multiplayer game, then you'll have to have some kind of server doing at the very least checksums on the game state every once in a while, so if someone tries to cheat the server will throw a sync error.Plus, flash loads soooooo slow.....   ;  Flash can be decompiled and &#106avascript can be run through an obfuscator; they are probably equally readable after that.HTML5 might be replacing Flash in some areas (like video) but I think Flash will be a better choice for games for many years to come. I'd suggest Flash unless you would rather work on a platform that has fewer features, fewer tutorials, fewer libraries, fewer tools, and is supported by less browsers.   ;  Thanks a lot for the comments :)actually my main concern is just the security and cheating prevention, I think i am ready to take "fewer features, fewer tutorials, fewer libraries, fewer tools, and is supported by less browsers".Hopefully it won't kill me too much...hope ie wont be too slow with excanvas...and since most mobile platform can render canvas toosince ask MortusMaximus said, the security of both is about the same, i think i will prefer canvas over flash, since i think i might take less time to develop.Only worry is people won't want to upgrade their firefox or ie.