Move to second floor of ruby warrior

This commit is contained in:
Timothy Warren 2016-08-24 19:45:22 -04:00
parent 4ec0e54082
commit 8f720c10b2
2 changed files with 16 additions and 8 deletions

View File

@ -1,8 +1,9 @@
BAhvOhlSdWJ5V2Fycmlvcjo6UHJvZmlsZQ86EEB0b3dlcl9wYXRoSSIBfS91
BAhvOhlSdWJ5V2Fycmlvcjo6UHJvZmlsZRA6EEB0b3dlcl9wYXRoSSIBfS91
c3IvbG9jYWwvbGliL3J1YnkvZ2Vtcy8yLjIvZ2Vtcy9ydWJ5d2Fycmlvci0w
LjEuMy90b3dlcnMvdXNyL2xvY2FsL2xpYi9ydWJ5L2dlbXMvMi4yL2dlbXMv
cnVieXdhcnJpb3ItMC4xLjMvdG93ZXJzL2JlZ2lubmVyBjoGRUY6EkB3YXJy
aW9yX25hbWVJIghUaW0GOwdUOgtAc2NvcmVpADoYQGN1cnJlbnRfZXBpY19z
aW9yX25hbWVJIghUaW0GOwdUOgtAc2NvcmVpDzoYQGN1cnJlbnRfZXBpY19z
Y29yZWkAOhlAY3VycmVudF9lcGljX2dyYWRlc3sAOhBAZXBpY19zY29yZWkA
OhNAYXZlcmFnZV9ncmFkZTA6D0BhYmlsaXRpZXNbADoSQGxldmVsX251bWJl
cmkGOhdAbGFzdF9sZXZlbF9udW1iZXIw
OhNAYXZlcmFnZV9ncmFkZTA6D0BhYmlsaXRpZXNbBjoKd2FsayE6EkBsZXZl
bF9udW1iZXJpBzoXQGxhc3RfbGV2ZWxfbnVtYmVyMDoRQHBsYXllcl9wYXRo
SSIGLgY7B1Q=

View File

@ -1,19 +1,26 @@
Level 1
Level 2
You see before yourself a long hallway with stairs at the end. There is nothing in the way.
It is too dark to see anything, but you smell sludge nearby.
Tip: Call warrior.walk! to walk forward in the Player 'play_turn' method.
Tip: Use warrior.feel.empty? to see if there is anything in front of you, and warrior.attack! to fight it. Remember, you can only do one action (ending in !) per turn.
--------
|@ >|
|@ s >|
--------
> = Stairs
@ = Tim (20 HP)
s = Sludge (12 HP)
Warrior Abilities:
warrior.feel
Returns a Space for the given direction (forward by default).
warrior.attack!
Attacks a unit in given direction (forward by default).
warrior.walk!
Move in the given direction (forward by default).