{"id":16237957,"url":"https://github.com/codegoalie/rubywarrior-intermediate","last_synced_at":"2025-04-08T08:48:53.077Z","repository":{"id":2121949,"uuid":"3064542","full_name":"codegoalie/RubyWarrior-intermediate","owner":"codegoalie","description":"My RubyWarrior Intermediate code","archived":false,"fork":false,"pushed_at":"2013-04-29T04:00:54.000Z","size":100,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-14T05:43:50.661Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codegoalie.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-12-28T19:17:27.000Z","updated_at":"2017-04-01T12:15:54.000Z","dependencies_parsed_at":"2022-09-02T05:51:35.880Z","dependency_job_id":null,"html_url":"https://github.com/codegoalie/RubyWarrior-intermediate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codegoalie%2FRubyWarrior-intermediate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codegoalie%2FRubyWarrior-intermediate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codegoalie%2FRubyWarrior-intermediate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codegoalie%2FRubyWarrior-intermediate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codegoalie","download_url":"https://codeload.github.com/codegoalie/RubyWarrior-intermediate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247809373,"owners_count":20999806,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T13:38:05.542Z","updated_at":"2025-04-08T08:48:53.057Z","avatar_url":"https://github.com/codegoalie.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Level 5\n\nYou can feel the stairs right next to you, but are you sure you want to go up them right away?\n\nTip: You'll get more points for clearing the level first. Use warrior.feel.stairs? and warrior.feel.empty? to determine where to go.\n\n -----\n|    S|\n|@\u003e SC|\n -----\n\n  \u003e = Stairs\n  @ = Hans (20 HP)\n  S = Thick Sludge (24 HP)\n  C = Captive (1 HP)\n\n\nWarrior Abilities:\n\n  warrior.listen\n    Returns an array of all spaces which have units in them.\n\n  warrior.direction_of\n    Pass a Space as an argument, and the direction (:left, :right, :forward, :backward) to that space will be returned.\n\n  warrior.rescue!\n    Rescue a captive from his chains (earning 20 points) in given direction (forward by default).\n\n  warrior.bind!\n    Binds a unit in given direction to keep him from moving (forward by default).\n\n  warrior.attack!\n    Attacks a unit in given direction (forward by default).\n\n  warrior.health\n    Returns an integer representing your health.\n\n  warrior.rest!\n    Gain 10% of max health back, but do nothing more.\n\n  warrior.walk!\n    Move in the given direction (forward by default).\n\n  warrior.feel\n    Returns a Space for the given direction (forward by default).\n\n  warrior.direction_of_stairs\n    Returns the direction (:left, :right, :forward, :backward) the stairs are from your location.\n\n\nWhen you're done editing player.rb, run the rubywarrior command again.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodegoalie%2Frubywarrior-intermediate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodegoalie%2Frubywarrior-intermediate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodegoalie%2Frubywarrior-intermediate/lists"}