Battleship game using Ruby on Rails