A battleship clone in HTML5