|
Perl 6
Tower of Hanoi: Revision 6
DescriptionInvented by the French mathematician Édouard Lucas in 1883, this is a mathematical game/puzzle about moving a set of disks between a set of pegs, limited by the following rules :
Solutionshttp://svn.pugscode.org/pugs/examples/algorithms/hanoi.pl Status with current release of perl 6 / parrot
Benchmarks1000 iterations with 6 disks
Comparisons against Perl 5, etc
References |