Following on from last night’s WMRUG meetup, in which we were introduced to the game Ruby Warrior, I figured it might be a good idea to use this thread to share what we did, how successful it was, and to provide encouragement for those of us who maybe didn’t do as well as others
For anyone that missed it, in Ruby Warrior you…
play as a warrior climbing a tall tower to reach the precious Ruby at the top level. On each floor you need to write a Ruby script to instruct the warrior to battle enemies, rescue captives, and reach the stairs. You have some idea of what each floor contains, but you never know for certain what will happen. You must give the Warrior enough artificial intelligence up-front to find his own way.
If you’re interested in playing, you have the option of installing the Gem and running it locally, or you can play the web-based edition which features graphics and sound. (I believe the gameplay of them both is exactly the same, just the way it’s presented is different, and as such, any code you write for one should work exactly the same in the other).