| 
									
										
										
										
											2025-01-04 21:58:26 +01:00
										 |  |  | <!DOCTYPE html> | 
					
						
							|  |  |  | <html lang="en"> | 
					
						
							| 
									
										
										
										
											2025-02-21 11:34:11 +01:00
										 |  |  |   <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" /> | 
					
						
							|  |  |  |     <link | 
					
						
							|  |  |  |       rel="apple-touch-icon" | 
					
						
							|  |  |  |       sizes="180x180" | 
					
						
							|  |  |  |       href="../../favicon_io/apple-touch-icon.png" | 
					
						
							|  |  |  |     /> | 
					
						
							|  |  |  |     <link | 
					
						
							|  |  |  |       rel="icon" | 
					
						
							|  |  |  |       type="image/png" | 
					
						
							|  |  |  |       sizes="32x32" | 
					
						
							|  |  |  |       href="../../favicon_io/favicon-32x32.png" | 
					
						
							|  |  |  |     /> | 
					
						
							|  |  |  |     <link | 
					
						
							|  |  |  |       rel="icon" | 
					
						
							|  |  |  |       type="image/png" | 
					
						
							|  |  |  |       sizes="16x16" | 
					
						
							|  |  |  |       href="../../favicon_io/favicon-16x16.png" | 
					
						
							|  |  |  |     /> | 
					
						
							|  |  |  |     <link rel="manifest" href="../../favicon_io/site.webmanifest" /> | 
					
						
							|  |  |  |   </head> | 
					
						
							| 
									
										
										
										
											2025-01-04 21:58:26 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-02-21 11:34:11 +01:00
										 |  |  |   <body> | 
					
						
							|  |  |  |     <div id="settings"> | 
					
						
							|  |  |  |       <h1>Minesweeper</h1> | 
					
						
							|  |  |  |       <label for="gridSize">Grid Size:</label> | 
					
						
							|  |  |  |       <input | 
					
						
							|  |  |  |         type="number" | 
					
						
							|  |  |  |         id="gridSize" | 
					
						
							|  |  |  |         min="6" | 
					
						
							|  |  |  |         max="25" | 
					
						
							|  |  |  |         value="9" | 
					
						
							|  |  |  |         aria-label="Grid Size" | 
					
						
							|  |  |  |       /> | 
					
						
							| 
									
										
										
										
											2025-01-05 00:14:59 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-02-21 11:34:11 +01:00
										 |  |  |       <label for="bombs">Number of Bombs:</label> | 
					
						
							|  |  |  |       <input | 
					
						
							|  |  |  |         type="number" | 
					
						
							|  |  |  |         id="bombs" | 
					
						
							|  |  |  |         min="1" | 
					
						
							|  |  |  |         max="300" | 
					
						
							|  |  |  |         value="9" | 
					
						
							|  |  |  |         aria-label="Number of Bombs" | 
					
						
							|  |  |  |       /> | 
					
						
							| 
									
										
										
										
											2025-01-05 00:14:59 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-02-21 11:34:11 +01:00
										 |  |  |       <button id="startGame">Start Game</button> | 
					
						
							|  |  |  |     </div> | 
					
						
							| 
									
										
										
										
											2025-01-05 00:14:59 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-02-21 11:34:11 +01:00
										 |  |  |     <div class="container"> | 
					
						
							|  |  |  |       <canvas id="game"></canvas> | 
					
						
							|  |  |  |     </div> | 
					
						
							| 
									
										
										
										
											2025-01-04 21:58:26 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-02-21 11:34:11 +01:00
										 |  |  |     <script src="script.js"></script> | 
					
						
							|  |  |  |   </body> | 
					
						
							|  |  |  | </html> |