From 44e2dc6a078685b526d6a8c7490c4d36c7089fd9 Mon Sep 17 00:00:00 2001 From: mo khan Date: Fri, 26 Apr 2013 17:45:04 -0600 Subject: level one completed --- rubywarrior/ultimate-beginner/.profile | 9 +++++---- rubywarrior/ultimate-beginner/README | 15 +++++++++++---- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/rubywarrior/ultimate-beginner/.profile b/rubywarrior/ultimate-beginner/.profile index e6aa88d..b074a15 100644 --- a/rubywarrior/ultimate-beginner/.profile +++ b/rubywarrior/ultimate-beginner/.profile @@ -1,9 +1,10 @@ -BAhvOhlSdWJ5V2Fycmlvcjo6UHJvZmlsZQ86EEB0b3dlcl9wYXRoSSIBpS9V +BAhvOhlSdWJ5V2Fycmlvcjo6UHJvZmlsZRA6EEB0b3dlcl9wYXRoSSIBpS9V c2Vycy9tby8ucnZtL2dlbXMvcnVieS0xLjkuMy1wMzkyQHJ1Ynktd2Fycmlv ci9nZW1zL3J1Ynl3YXJyaW9yLTAuMS4zL3Rvd2Vycy9Vc2Vycy9tby8ucnZt L2dlbXMvcnVieS0xLjkuMy1wMzkyQHJ1Ynktd2Fycmlvci9nZW1zL3J1Ynl3 YXJyaW9yLTAuMS4zL3Rvd2Vycy9iZWdpbm5lcgY6BkVUOhJAd2Fycmlvcl9u -YW1lSSINdWx0aW1hdGUGOwdUOgtAc2NvcmVpADoYQGN1cnJlbnRfZXBpY19z +YW1lSSINdWx0aW1hdGUGOwdUOgtAc2NvcmVpDzoYQGN1cnJlbnRfZXBpY19z Y29yZWkAOhlAY3VycmVudF9lcGljX2dyYWRlc3sAOhBAZXBpY19zY29yZWkA -OhNAYXZlcmFnZV9ncmFkZTA6D0BhYmlsaXRpZXNbADoSQGxldmVsX251bWJl -cmkGOhdAbGFzdF9sZXZlbF9udW1iZXIw +OhNAYXZlcmFnZV9ncmFkZTA6D0BhYmlsaXRpZXNbBjoKd2FsayE6EkBsZXZl +bF9udW1iZXJpBzoXQGxhc3RfbGV2ZWxfbnVtYmVyMDoRQHBsYXllcl9wYXRo +SSIkLi9ydWJ5d2Fycmlvci91bHRpbWF0ZS1iZWdpbm5lcgY7B1Q= diff --git a/rubywarrior/ultimate-beginner/README b/rubywarrior/ultimate-beginner/README index 9397ad5..9339656 100644 --- a/rubywarrior/ultimate-beginner/README +++ b/rubywarrior/ultimate-beginner/README @@ -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 @ = ultimate (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). -- cgit v1.2.3