The Code Cracker
This is another demonstration program I wrote while reading Game Design with HTML5 and JavaScript and it actually turned out to be quite fun to play. It's a brain teaser game that is very doable, but it isn't easy.
The goal is to guess a random 3 digit code in a certain number of tries. If you don't guess it correctly you get one more try next time.
The goal is to guess a random 3 digit code in a certain number of tries. If you don't guess it correctly you get one more try next time.
This will be part of a larger game I'm thinking of writing. I can think of several uses for a keypad in games and now I already have the code!
Being JavaScript, the code is just text and is read by and runs within a browser. Download the file and click on theCodeCracker.html run the game. Enjoy!
|
|