Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit 3d9700e1657a0a8e89c991e38fc816189920759f 1 parent 2656ea5
Carl Mäsak authored July 23, 2012

Showing 1 changed file with 4 additions and 0 deletions. Show diff stats Hide diff stats

  1. 4  bin/crypt
4  bin/crypt
@@ -1280,6 +1280,10 @@ multi MAIN() {
1280 1280
                     when Adventure::PlayerRead {
1281 1281
                         say %descriptions{"{.thing}"};
1282 1282
                     }
  1283
+                    when Hanoi::DiskMoved {
  1284
+                        say "You put the {.disk} on the {.target} rod.";
  1285
+                        print_hanoi_game(@all_events);
  1286
+                    }
1283 1287
                 }
1284 1288
                 CATCH {
1285 1289
                     when X::Adventure { say .message, '.' }

0 notes on commit 3d9700e

Please sign in to comment.
Something went wrong with that request. Please try again.