A fun way to learn Ruby
Ruby Warrior is a role based game, where you have to guide a warrior through a dungeon. It starts quite easy, but quickly gets harder. Each level the brave warrior gets attributes, that help him to get through all trouble. You control your warrior with Ruby commands like
warrior.attack! – see the readme for all commands.
On higher levels life gets really hard for the warrior. Trying to develop an artifical intellegence for the hero gets tricky. Of course you can cheat by defining the exact moves for each level, because the game does not know any randomness. The code you write to guide your warrior to the end of a level, has to be changed quite often – methods are defined and refactored nearly each level, because you do not know what expects you on the next level, it is hard to predict how to define your methods.
I encourage you to give the game a try, even if you have not any Ruby knowledge at all.