Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Jun 2011
    Posts
    9
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question Javascript Game (Game 2)

    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:
    Correct!

    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.
    Last edited by RSHowat; 07-13-2011 at 02:29 AM.

  • #2
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    27,118
    Thanks
    80
    Thanked 4,555 Times in 4,519 Posts
    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"?

  • #3
    Senior Coder alykins's Avatar
    Join Date
    Apr 2011
    Posts
    1,887
    Thanks
    43
    Thanked 202 Times in 201 Posts
    before any assistance with this game please view his gam1 thread here

    I code C hash-tag .Net
    Reference: W3C W3CWiki .Net Lib
    Validate: html CSS
    Debug: Chrome FireFox IE

  • #4
    New to the CF scene
    Join Date
    Jun 2011
    Posts
    9
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Just lock this post. I'll mark it as solved. -.-


  •  

    LinkBacks (?)


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •