2025-01-04 21:58:26 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<title>Minesweeper</title>
|
2025-01-04 22:31:47 +01:00
|
|
|
<link rel="stylesheet" href="styles.css">
|
2025-01-04 21:58:26 +01:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2025-01-04 22:31:47 +01:00
|
|
|
<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>
|
2025-01-04 21:58:26 +01:00
|
|
|
<script src="script.js"></script>
|
|
|
|
</body>
|
|
|
|
|
2025-01-04 22:31:47 +01:00
|
|
|
</html>
|