-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
49 lines (32 loc) · 1.09 KB
/
Copy pathREADME
File metadata and controls
49 lines (32 loc) · 1.09 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Level 9
Time to hone your skills and apply all of the abilities that you have learned.
Tip: Watch your back.
-----------
|>Ca @ S wC|
-----------
> = Stairs
@ = Geekdom (20 HP)
C = Captive (1 HP)
a = Archer (7 HP)
S = Thick Sludge (24 HP)
w = Wizard (3 HP)
Warrior Abilities:
warrior.look
Returns an array of up to three Spaces in the given direction (forward by default).
warrior.shoot!
Shoot your bow & arrow in given direction (forward by default).
warrior.pivot!
Rotate :left, :right or :backward (default)
warrior.rescue!
Rescue a captive from his chains (earning 20 points) in given direction (forward by default).
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.