CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Sep 2008
    Posts
    16

    Hangman in Ajax: How?

    After reading some books on Ajax, I want to raise the ante by coding a Hangman game that is in JavaScript, with the phrases being stored in some MySQL database.

    Looks like I have raised the ante too high and I don't know where to start. Any help?

  2. #2
    Join Date
    May 2002
    Posts
    10,943

    Re: Hangman in Ajax: How?

    No better place to start than with learning AJAX, PHP and JavaScript from W3Schools.

    http://w3schools.com/ajax/ajax_intro.asp
    http://w3schools.com/php/php_intro.asp
    http://w3schools.com/js/js_intro.asp
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

  3. #3
    Join Date
    Jul 2008
    Posts
    70

    Re: Hangman in Ajax: How?

    I thought that was a very interesting thing to do so I coded up a simple hangman game in Javascript with the html canvas element. As of right now its not Ajaxified because I don't have a DB running where I can load it from. That shouldn't be too hard though if your familiar with XMLHttpRequest and you setup a service to serve words.

    Here's the link to a blog post I just wrote detailing my crude javascript hangman game. Hopefully it will give you a starting point.

    http://developer-resource.blogspot.c...t-hangman.html

  4. #4
    Join Date
    Sep 2008
    Posts
    16

    Re: Hangman in Ajax: How?

    Wow thanks.

  5. #5
    Join Date
    May 2009
    Posts
    1

    Re: Hangman in Ajax: How?

    You might also want to search google for ajax hangman. I found this site has a full source in javascript/php to download.

    http://www.hawkenterprises.org/games...available.html

  6. #6
    Join Date
    May 2002
    Posts
    10,943

    Re: Hangman in Ajax: How?

    Welcome to the forums, infinitylimit!

    Please remember to keep posts relevant. This thread is almost a year old already.
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured