29 lines
650 B
Plaintext
29 lines
650 B
Plaintext
Level 2
|
|
|
|
It is too dark to see anything, but you smell sludge nearby.
|
|
|
|
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).
|
|
|
|
|
|
When you're done editing player.rb, run the rubywarrior command again.
|