A simple number guessing game.
guess a number 1 - 10 to match the monster's number
a demonstration of simple logic flow
- 3 chances to guess the number
- css animations and text depending on choice
- how to make conditionals
- how to animate css elements
- using jquery to create animation orders
tongue animation example
$("#tongue").show().delay(500).animate({height: "+=240px"}).delay(300).animate({height: "-=240px"});
1.2
- [jQuery]
- make mobile friendly
- add stats
- return key activates guess button
- create flags to prevent clicks
- Clicking guess button before win animation finishes breaks game
MIT