This repository has been archived by the owner on May 4, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
nrodastiscornia/RubyWarrior-solution-megazord
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Level 7 Another ticking sound, but some sludge is blocking the way. Tip: Quickly kill the sludge and rescue the captive before the bomb goes off. You can't simply go around them. ----- | sC >| |@ s C| | s | ----- > = Stairs @ = MEGAZORD (20 HP) s = Sludge (12 HP) C = Captive (1 HP) Warrior Abilities: warrior.listen Returns an array of all spaces which have units in them. warrior.direction_of Pass a Space as an argument, and the direction (:left, :right, :forward, :backward) to that space will be returned. warrior.rescue! Rescue a captive from his chains (earning 20 points) in given direction (forward by default). warrior.bind! Binds a unit in given direction to keep him from moving (forward by default). warrior.attack! Attacks a unit 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.walk! Move in the given direction (forward by default). warrior.feel Returns a Space for the given direction (forward by default). warrior.direction_of_stairs Returns the direction (:left, :right, :forward, :backward) the stairs are from your location. When you're done editing player.rb, run the rubywarrior command again.
About
rbates rubywarrior
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published