summaryrefslogtreecommitdiff
path: root/rubywarrior/ultimate-beginner/README
blob: 9e60688bceaa35aa8f5af054781fb211d5092edd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Level 3

The air feels thicker than before. There must be a horde of sludge.

Tip: Be careful not to die! Use warrior.health to keep an eye on your health, and warrior.rest! to earn 10% of max health back.

 ---------
|@ s ss s>|
 ---------

  > = Stairs
  @ = ultimate (20 HP)
  s = Sludge (12 HP)


Warrior Abilities:

  warrior.health
    Returns an integer representing your health.

  warrior.rest!
    Gain 10% of max health back, but do nothing more.

  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.