Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[bin/crypt] respond/print hanoi on disk moving

  • Loading branch information...
commit 3d9700e1657a0a8e89c991e38fc816189920759f 1 parent 2656ea5
Carl Mäsak authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 bin/crypt
4 bin/crypt
View
@@ -1280,6 +1280,10 @@ multi MAIN() {
when Adventure::PlayerRead {
say %descriptions{"{.thing}"};
}
+ when Hanoi::DiskMoved {
+ say "You put the {.disk} on the {.target} rod.";
+ print_hanoi_game(@all_events);
+ }
}
CATCH {
when X::Adventure { say .message, '.' }
Please sign in to comment.
Something went wrong with that request. Please try again.