My attempt at playing RubyWarrior.