|
Perl 6
Tower of Hanoi: Revision 13
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 - skip output ( or comment on output to file, etc : http://sial.org/pbot/29516 thanks to Stephen Weeks / Tene on #perl6 )
Comparisons against Perl 5, etc
References |