Noticing some errors on the website that don't show up in the presentation mode of Scratch. Notabely:
1) "Stage Victory" is actually named "Victory" and is located in the middle of the screen
2) "Warning" is not cut off and is located in the middle of the screen.
3) Odd corrupted states. Code is probably not thread safe. That may be the culprit.
Download this project!
Download the 6 sprites and 12 scripts of "Hanoi Game" and open it in Scratch
Project Notes
This is a classic Towers of Hanoi puzzle.
Click on one of the blue bricks to move it. Drag it to a black base to set it.
You cannot place a larger brick on top of a smaller one. You cannot take a brick out from under another.
You win when all three blue bricks lie on the third base.
Developer Notes:
This project utilizes a clever (read: Bad) method of storing internal state. It also has some large and complicated (read: Bad) blocks.
Changelog
4-30-2010
Added conditional variable to prevent double clicks from corrupting internal state.
Comments
You need to be logged in to post comments
Add a Comment
Noticing some errors on the website that don't show up in the presentation mode of Scratch. Notabely: 1) "Stage Victory" is actually named "Victory" and is located in the middle of the screen 2) "Warning" is not cut off and is located in the middle of the screen. 3) Odd corrupted states. Code is probably not thread safe. That may be the culprit.