Rails version of the classic Battleship