my implementation of the game rubywarrior