Create the Game Page
====================
To play Minesweeper, the home page links to a different HTML template. The
game screen contains a title, a mine counter, a *New Game* button, and the
the active board.
.. figure:: figures/game-page-start.png
:alt: Showing the start of a new Minesweeper game.
:width: 50%
The game board is one big HTML form.
Build ``mines.html``
--------------------
The structure of the game board is very similar to the one we built in
``index.html``. However, this time the buttons will be active, and the entire
table will be part of a large ``form`` element.
Unlike the home page, the HTML we use for the board will change once we start
adding Python code to run the game. We'll start simple, and then update the
elements and/or attributes in later steps.
The form on the game page behaves differently than most of the ones we've
created before. Instead of filling in an ``input`` field, users submit their
cell choices by clicking the different buttons. In this case, *each button*
serves as a separate input. To make the form work this way, we must assign a
different value to each button. One of these will be submitted when the user
clicks on the board.
Open your Minesweeper project and code along with the video to build the game
page:
.. raw:: html