ruby battleship bot for competition