ScratchData LogoScratchData
Back to handyman's profile

Tower of Hanoi

HAhandyman•Created March 15, 2008
Tower of Hanoi
41
40
6289 views
View on Scratch

Description

Yet another Towers of Hanoi game with a few improvements such as ability to change the number of discs. This is my first real project and it was fun, if frustrating wrestling with some aspects of scratch. I want to demonstrate the elegance of a recursive approach to solving the problem and in the next version I hope to have a recursive solver (yes, recursion implemented in Scratch!). All peg sprites and disc sprites have identical respective scripts. I discovered the hard way that 'touching (mouse_pointer)' will be true for a sprite even if another sprite is covering it. I also really did not lget on with the sprite-local versus global variables having nearly the same colour!

Project Details

Project ID120801
CreatedMarch 15, 2008
Last ModifiedMarch 15, 2008
SharedMarch 15, 2008
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root