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.
Page 1 of 3 123 LastLast
Results 1 to 15 of 40
  1. #1
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    10,966
    Thanks
    0
    Thanked 236 Times in 233 Posts

    Drag n Drop Tower of Hanoi

    I know there are many javascript versions of the classic game Tower of Hanoi out there.
    But my version has Drag n Drop functionality. Try it!

    Edited. Removed the IE message icon since this now works cross-browser. See page 3 of this thread for script update.
    Edited again. It seems the message icon is not removed in the thread list.

  • #2
    jkd
    jkd is offline
    Senior Coder jkd's Avatar
    Join Date
    May 2002
    Location
    metro DC
    Posts
    3,163
    Thanks
    1
    Thanked 18 Times in 18 Posts
    Maybe if you supported good browsers. Looking at your source code, it would be effortless to port it to W3C-compliant DOM code.

  • #3
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    10,966
    Thanks
    0
    Thanked 236 Times in 233 Posts
    Of course, it would be better to support NS6 and other Gecko-based browsers. But this is an old code of mine that I have no time to improve yet. Just thought of sharing it here at the moment.
    Thanks for your feedback though

  • #4
    Regular Coder
    Join Date
    Jun 2002
    Location
    Mumbai, India
    Posts
    218
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Here's my version of the "Towers of Hanoi"...........not as good as yours though!

  • #5
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    10,966
    Thanks
    0
    Thanked 236 Times in 233 Posts
    That's more of a demo than a game.

  • #6
    Regular Coder
    Join Date
    Jun 2002
    Location
    Cincinnati, OH
    Posts
    545
    Thanks
    0
    Thanked 0 Times in 0 Posts
    regardless that is pretty cool.

  • #7
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    10,966
    Thanks
    0
    Thanked 236 Times in 233 Posts
    which one?

  • #8
    Regular Coder
    Join Date
    Jun 2002
    Location
    Cincinnati, OH
    Posts
    545
    Thanks
    0
    Thanked 0 Times in 0 Posts
    If you are talking to me yours is. Code is clean easy to follow.

  • #9
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    10,966
    Thanks
    0
    Thanked 236 Times in 233 Posts
    Thanks allida77!

  • #10
    Senior Coder
    Join Date
    Aug 2002
    Posts
    3,467
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Originally posted by premshree
    Here's my version of the "Towers of Hanoi"...........not as good as yours though!
    Dude, kill the alerts...nobody wants to click 'Ok' 255 times. I just killed my browser to get it over with.
    My Site | fValidate | My Brainbench | MSDN | Gecko | xBrowser DOM | PHP | Ars | PVP
    “Minds are like parachutes. They don't work unless they are open”
    “Maturity is simply knowing when to not be immature”

  • #11
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    10,966
    Thanks
    0
    Thanked 236 Times in 233 Posts
    I'm happy to announce that this game is now featured in Dynamic Drive.
    http://www.dynamicdrive.com/dynamicindex12/hanoi.htm

  • #12
    New Coder
    Join Date
    Oct 2002
    Location
    Canada (eh)
    Posts
    53
    Thanks
    0
    Thanked 0 Times in 0 Posts
    glengv -

    Based on how addictive your last game was (The DHTML Same Game) there is NO way I am checking out your newest game !!

    And yes, that is meant as a compliment

    <mantra> Must work - must work </mantra>
    Listen! You smell that?

  • #13
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    10,966
    Thanks
    0
    Thanked 236 Times in 233 Posts
    I posted this game first
    Thanks for the compliment anyway.

  • #14
    New Coder
    Join Date
    Nov 2002
    Location
    PA
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You know the part I liked best? The part that locks your browser and causes you to either force quit or restart the computer.
    Howdy, y'all.

  • #15
    Senior Coder
    Join Date
    Aug 2002
    Posts
    3,467
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I finally figured out the trick! I can get it spot on every time! (minimum moves, that is )

    Good work, glenn.

    mark123, I doubt anyone appreciates your facetiousness.
    My Site | fValidate | My Brainbench | MSDN | Gecko | xBrowser DOM | PHP | Ars | PVP
    “Minds are like parachutes. They don't work unless they are open”
    “Maturity is simply knowing when to not be immature”


  •  
    Page 1 of 3 123 LastLast

    Posting Permissions

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