Ruby Warrior is a text-based programming game designed to teach Ruby through interactive challenges. Players write a Ruby script that controls a warrior climbing a tower, fighting enemies, rescuing captives, and searching for stairs. Each level introduces new abilities while increasing uncertainty and difficulty. The warrior follows the logic written in the play_turn method, so players must anticipate conditions before the level begins. Actions such as walking, attacking, resting, binding, and rescuing are combined with senses that inspect health and surroundings. Scoring, retries, progressive levels, and later optimization encourage experimentation with control flow, state, and simple artificial intelligence.

Features

  • Interactive Ruby lessons
  • Turn-based tower levels
  • Script-controlled character
  • Actions and senses
  • Progressive abilities
  • Score optimization

Project Samples

Project Activity

See All Activity >

Categories

Games

License

MIT License

Follow Ruby Warrior

Ruby Warrior Web Site

Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Ruby Warrior!

Additional Project Details

Programming Language

Ruby

Related Categories

Ruby Games

Registered

6 days ago