ScratchData LogoScratchData
Back to Wes64's profile

Towers of Hanoi

WEWes64•Created November 5, 2014
Towers of Hanoi
160
109
2280 views
View on Scratch

Instructions

Arrow keys to move the cursor. Space to pick up or drop disc directly below cursor. The goal is to move all the discs from the first peg to the third peg. However, you can never place a disc on top of a smaller disc, and you can only carry one disc at a time. You win when all the discs are on the last peg in the proper order. If you are confused, watch the computer do it.

Description

I tried to implement a cloud list for the highscores. Apparently Scratch is preventing me from using csv or any letter, so I converted all the numbers to binary strings delimited by '2' characters, and it seems to have disguised my list as an integer. No gurantees about how well this will work. We shall see. 9 discs should be solvable in around 1000 moves (minimum of 511).

Project Details

Project ID32853870
CreatedNovember 5, 2014
Last ModifiedFebruary 6, 2015
SharedNovember 6, 2014
Visibilityvisible
CommentsAllowed