View Full Version : Resolved Javascript Game (Game 2)

07-12-2011, 08:08 PM
This is a simple basic game i want to make.

Its a "What Am I" Riddle...

The questions is (In HTML which i already know):
I'm as light as a feather but no man can hold me for long. What am I?

the answer is: Your Breath.

(This is where the JAVASCRIPT comes in)
Lets say they guess a rock, have a pop up say:
Wrong Answer. Please try again.

Lets say they guess Your breath -OR- Breath, have a pop up say:

I want a text field where you can enter your answer, and if they choose ANYTHING but the 2 correct answers above, it will display please try again.

Can anyone code this please?
Thanks for reading.

Old Pedant
07-12-2011, 10:13 PM
How is this any different, really, than your GAME 1?

Just go modify GAME 1 slightly and you are done.

Oh, and what if they answer "the air in your lungs"? Or even "My breath"?

07-12-2011, 11:14 PM
before any assistance with this game please view his gam1 thread here (http://www.codingforums.com/showthread.php?t=231758)

07-13-2011, 01:28 AM
Just lock this post. I'll mark it as solved. -.-