Code

Towers of hanoi HTML5 canvas game

Towers of hanoi HTML5 canvas game

Towers of hanoi HTML5 canvas game

Towers of Hanoi is an implementation of the classic Towers of Hanoi puzzle using HTML5 Canvas. Given the ability to play with a user-specified number of disks, the user quickly gains an appreciation for how the number of steps required to reach a solution grows exponentially with the number of disks.

How to play

<>

move your entire stack of disks from the first tower to one of the other two towers. There’s only one catch you may not place a larger disk on top of a smaller one.

by
by
by
by
by
by