A pet combat program written in Ruby