Battleship game in the browser