Compare commits
3 commits
11087d4935
...
5b65c84e2e
Author | SHA1 | Date | |
---|---|---|---|
5b65c84e2e | |||
e18f4f0f5b | |||
bc3ebcaab2 |
1 changed files with 35 additions and 23 deletions
|
@ -1,30 +1,42 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<head>
|
||||
<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>
|
||||
<link rel="stylesheet" href="styles.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<body>
|
||||
<div id="settings">
|
||||
<h1>Minesweeper</h1>
|
||||
<label for="gridSize">Grid Size:</label>
|
||||
<input type="number" id="gridSize" min="1" max="25" value="9" aria-label="Grid Size">
|
||||
|
||||
<label for="bombs">Number of Bombs:</label>
|
||||
<input type="range" id="bombs" min="1" max="80" value="20" aria-label="Number of Bombs">
|
||||
|
||||
<button id="startGame">Start Game</button>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<canvas id="game"></canvas>
|
||||
</div>
|
||||
|
||||
<script src="script.js"></script>
|
||||
</body>
|
||||
<h1>Minesweeper</h1>
|
||||
<label for="gridSize">Grid Size:</label>
|
||||
<input
|
||||
type="number"
|
||||
id="gridSize"
|
||||
min="1"
|
||||
max="25"
|
||||
value="9"
|
||||
aria-label="Grid Size"
|
||||
/>
|
||||
|
||||
<label for="bombs">Number of Bombs:</label>
|
||||
<input
|
||||
type="range"
|
||||
id="bombs"
|
||||
min="1"
|
||||
max="80"
|
||||
value="20"
|
||||
aria-label="Number of Bombs"
|
||||
/>
|
||||
|
||||
<button id="startGame">Start Game</button>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<canvas id="game"></canvas>
|
||||
</div>
|
||||
|
||||
<script src="script.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue