update for patrick to change the rendering
This commit is contained in:
parent
bfdab37fcd
commit
2fab0a38ea
3 changed files with 102 additions and 13 deletions
|
@ -5,11 +5,19 @@
|
|||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Minesweeper</title>
|
||||
<link rel="stylesheet" href="styles.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<canvas id="game"></canvas>
|
||||
<div id="settings">
|
||||
<label for="gridSize">Grid Size:</label>
|
||||
<input type="number" id="gridSize" min="1" value="18">
|
||||
<label for="bombs">Number of Bombs:</label>
|
||||
<input type="number" id="bombs" min="1" value="54">
|
||||
<button id="startGame">Start Game</button>
|
||||
</div>
|
||||
<canvas id="game"></canvas>
|
||||
<script src="script.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue