Website update
This commit is contained in:
		
							parent
							
								
									e18f4f0f5b
								
							
						
					
					
						commit
						adc78e0931
					
				
					 6 changed files with 186 additions and 108 deletions
				
			
		
										
											Binary file not shown.
										
									
								
							| Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 55 KiB | 
|  | @ -1,73 +1,100 @@ | ||||||
| <!DOCTYPE html> | <!DOCTYPE html> | ||||||
| <html lang="en"> | <html lang="en"> | ||||||
| <head> |   <head> | ||||||
|     <meta charset="UTF-8"> |     <meta charset="UTF-8" /> | ||||||
|     <meta name="viewport" content="width=device-width, initial-scale=1.0"> |     <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||||||
|     <title>Secret Game Collection</title> |     <title>Secret Game Collection</title> | ||||||
|     <link rel="stylesheet" href="styles.css"> |     <link rel="stylesheet" href="styles.css" /> | ||||||
| </head> |   </head> | ||||||
| <body> |   <body> | ||||||
|     <header> |     <header> | ||||||
|         <h1>Secret Game Collection</h1> |       <h1>Secret Game Collection</h1> | ||||||
|     </header> |     </header> | ||||||
| 
 | 
 | ||||||
|     <main> |     <main> | ||||||
|         <div class="grid-container"> |       <div class="grid-container"> | ||||||
|             <a href="asteroidDestroyer/explenation.html" target="_blank" class="item"> |         <a | ||||||
|                 <img src="images/asteroid.png" alt="Image can't be displayed"> |           href="asteroidDestroyer/explenation.html" | ||||||
|                 <h2>Secret Asteroid Shooter</h2> |           target="_blank" | ||||||
|                 <div class="description"> |           class="item" | ||||||
|                     <p>In this game, you control a spaceship that shoots at asteroids to avoid destruction and collect items for power-ups.</p> |         > | ||||||
|                     <p>Your goal is to survive as long as possible while scoring points!</p> |           <img src="images/asteroid.png" alt="Image can't be displayed" /> | ||||||
|                 </div> |           <h2>Secret Asteroid Shooter</h2> | ||||||
|             </a> |           <div class="description"> | ||||||
|             <a href="#" target="_blank" class="item"> |             <p> | ||||||
|                 <img src="images/blackjack.jpg" alt="Image can't be displayed"> |               In this game, you control a spaceship that shoots at asteroids to | ||||||
|                 <h2>Secret Blackjack</h2> |               avoid destruction and collect items for power-ups. | ||||||
|                 <div class="description"> |             </p> | ||||||
|                     <p>Try to beat the dealer by getting a hand value as close to 21 as possible without going over.</p> |             <p> | ||||||
|                 </div> |               Your goal is to survive as long as possible while scoring points! | ||||||
|             </a> |             </p> | ||||||
|             <a href="#" target="_blank" class="item"> |           </div> | ||||||
|                 <img src="images/snake.png" alt="Image can't be displayed"> |         </a> | ||||||
|                 <h2>Snake</h2> |         <a href="#" target="_blank" class="item"> | ||||||
|                 <div class="description"> |           <img src="images/blackjack.jpg" alt="Image can't be displayed" /> | ||||||
|                     <p>Guide the snake to eat food and grow longer while avoiding collisions with the walls and itself.</p> |           <h2>Secret Blackjack</h2> | ||||||
|                 </div> |           <div class="description"> | ||||||
|             </a> |             <p> | ||||||
|             <a href="#" target="_blank" class="item"> |               Try to beat the dealer by getting a hand value as close to 21 as | ||||||
|                 <img src="images/solitaire.png" alt="Image can't be displayed"> |               possible without going over. | ||||||
|                 <h2>Solitaire</h2> |             </p> | ||||||
|                 <div class="description"> |           </div> | ||||||
|                     <p>A classic card game where the objective is to move all cards to foundation piles in ascending order.</p> |         </a> | ||||||
|                 </div> |         <a href="#" target="_blank" class="item"> | ||||||
|             </a> |           <img src="images/snake.png" alt="Image can't be displayed" /> | ||||||
|             <a href="#" target="_blank" class="item"> |           <h2>Snake</h2> | ||||||
|                 <img src="images/minesweeper.png" alt="Image can't be displayed"> |           <div class="description"> | ||||||
|                 <h2>Minesweeper</h2> |             <p> | ||||||
|                 <div class="description"> |               Guide the snake to eat food and grow longer while avoiding | ||||||
|                     <p>Uncover squares on a grid while avoiding hidden mines, using numbers to deduce safe spots.</p> |               collisions with the walls and itself. | ||||||
|                 </div> |             </p> | ||||||
|             </a> |           </div> | ||||||
|             <a href="guessMyNumber/index.html" target="_blank" class="item"> |         </a> | ||||||
|                 <img src="images/number.jpeg" alt="Image can't be displayed"> |         <a href="#" target="_blank" class="item"> | ||||||
|                 <h2>Guess My Number</h2> |           <img src="images/solitaire.png" alt="Image can't be displayed" /> | ||||||
|                 <div class="description"> |           <h2>Solitaire</h2> | ||||||
|                     <p>A simple game where you try to guess a randomly chosen number within a certain range.</p> |           <div class="description"> | ||||||
|                 </div> |             <p> | ||||||
|             </a> |               A classic card game where the objective is to move all cards to | ||||||
|             <a href="#" target="_blank" class="item"> |               foundation piles in ascending order. | ||||||
|                 <img src="images/endless_runner.png" alt="Image can't be displayed"> |             </p> | ||||||
|                 <h2>Endless Runner</h2> |           </div> | ||||||
|                 <div class="description"> |         </a> | ||||||
|                     <p>Run through an endless landscape, avoiding obstacles and collecting items to score points.</p> |         <a href="mineSweeper/index.html" target="_blank" class="item"> | ||||||
|                 </div> |           <img src="images/minesweeper.png" alt="Image can't be displayed" /> | ||||||
|             </a> |           <h2>Minesweeper</h2> | ||||||
|         </div> |           <div class="description"> | ||||||
|  |             <p> | ||||||
|  |               Uncover squares on a grid while avoiding hidden mines, using | ||||||
|  |               numbers to deduce safe spots. | ||||||
|  |             </p> | ||||||
|  |           </div> | ||||||
|  |         </a> | ||||||
|  |         <a href="guessMyNumber/index.html" target="_blank" class="item"> | ||||||
|  |           <img src="images/number.jpeg" alt="Image can't be displayed" /> | ||||||
|  |           <h2>Guess My Number</h2> | ||||||
|  |           <div class="description"> | ||||||
|  |             <p> | ||||||
|  |               A simple game where you try to guess a randomly chosen number | ||||||
|  |               within a certain range. | ||||||
|  |             </p> | ||||||
|  |           </div> | ||||||
|  |         </a> | ||||||
|  |         <a href="#" target="_blank" class="item"> | ||||||
|  |           <img src="images/endless_runner.png" alt="Image can't be displayed" /> | ||||||
|  |           <h2>Endless Runner</h2> | ||||||
|  |           <div class="description"> | ||||||
|  |             <p> | ||||||
|  |               Run through an endless landscape, avoiding obstacles and | ||||||
|  |               collecting items to score points. | ||||||
|  |             </p> | ||||||
|  |           </div> | ||||||
|  |         </a> | ||||||
|  |       </div> | ||||||
|     </main> |     </main> | ||||||
| 
 | 
 | ||||||
|     <footer> |     <footer> | ||||||
|         <p>© 2025 Game Collection</p> |       <p>© 2025 Game Collection</p> | ||||||
|     </footer> |     </footer> | ||||||
| </body> |   </body> | ||||||
| </html> | </html> | ||||||
|  |  | ||||||
							
								
								
									
										14
									
								
								secret/mineSweeper/counter.js
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								secret/mineSweeper/counter.js
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,14 @@ | ||||||
|  | 'use strict' | ||||||
|  | 
 | ||||||
|  | document.addEventListener('DOMContentLoaded', () => { | ||||||
|  |     const bombsSlider = document.getElementById('bombs'); | ||||||
|  |     const bombsValue = document.getElementById('bombsValue'); | ||||||
|  | 
 | ||||||
|  |     // Update the displayed number of bombs when the slider value changes
 | ||||||
|  |     bombsSlider.addEventListener('input', () => { | ||||||
|  |         bombsValue.textContent = bombsSlider.value; | ||||||
|  |     }); | ||||||
|  | 
 | ||||||
|  |     // Initialize the displayed value on page load
 | ||||||
|  |     bombsValue.textContent = bombsSlider.value; | ||||||
|  | }); | ||||||
|  | @ -29,6 +29,7 @@ | ||||||
|         value="20" |         value="20" | ||||||
|         aria-label="Number of Bombs" |         aria-label="Number of Bombs" | ||||||
|       /> |       /> | ||||||
|  |       <span id="bombsValue">20</span> | ||||||
| 
 | 
 | ||||||
|       <button id="startGame">Start Game</button> |       <button id="startGame">Start Game</button> | ||||||
|     </div> |     </div> | ||||||
|  | @ -38,5 +39,6 @@ | ||||||
|     </div> |     </div> | ||||||
| 
 | 
 | ||||||
|     <script src="script.js"></script> |     <script src="script.js"></script> | ||||||
|  |     <script src="counter.js"></script> | ||||||
|   </body> |   </body> | ||||||
| </html> | </html> | ||||||
|  |  | ||||||
|  | @ -45,7 +45,8 @@ label { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| input[type="number"], | input[type="number"], | ||||||
| input[type="range"] { | input[type="range"], | ||||||
|  | span { | ||||||
|     padding: 12px; |     padding: 12px; | ||||||
|     margin-bottom: 20px; |     margin-bottom: 20px; | ||||||
|     width: 100%; |     width: 100%; | ||||||
|  |  | ||||||
|  | @ -1,58 +1,92 @@ | ||||||
| <!DOCTYPE html> | <!DOCTYPE html> | ||||||
| <html lang="en"> | <html lang="en"> | ||||||
| <head> |   <head> | ||||||
|     <meta charset="UTF-8"> |     <meta charset="UTF-8" /> | ||||||
|     <meta name="viewport" content="width=device-width, initial-scale=1.0"> |     <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||||||
|     <title>Game Collection</title> |     <title>Game Collection</title> | ||||||
|     <link rel="stylesheet" href="styles.css"> |     <link rel="stylesheet" href="styles.css" /> | ||||||
| </head> |   </head> | ||||||
| <body> |   <body> | ||||||
|     <header> |     <header> | ||||||
|         <h1>Game Collection</h1> |       <h1>Game Collection</h1> | ||||||
|     </header> |     </header> | ||||||
| 
 | 
 | ||||||
|     <main> |     <main> | ||||||
|         <div class="grid-container"> |       <div class="grid-container"> | ||||||
|             <a href="" target="_blank" class="item"> |         <a href="" target="_blank" class="item"> | ||||||
|                 <img src="../secret/../secret/images/snake.png" alt="Image can't be displayed"> |           <img | ||||||
|                 <h2>Snake</h2> |             src="../secret/../secret/images/snake.png" | ||||||
|                 <div class="description"> |             alt="Image can't be displayed" | ||||||
|                     <p>Guide the snake to eat food and grow longer while avoiding collisions with the walls and itself.</p> |           /> | ||||||
|                 </div> |           <h2>Snake</h2> | ||||||
|             </a> |           <div class="description"> | ||||||
|             <a href="" target="_blank" class="item"> |             <p> | ||||||
|                 <img src="../secret/images/solitaire.png" alt="Image can't be displayed"> |               Guide the snake to eat food and grow longer while avoiding | ||||||
|                 <h2>Solitaire</h2> |               collisions with the walls and itself. | ||||||
|                 <div class="description"> |             </p> | ||||||
|                     <p>A classic card game where the objective is to move all cards to foundation piles in ascending order.</p> |           </div> | ||||||
|                 </div> |         </a> | ||||||
|             </a> |         <a href="" target="_blank" class="item"> | ||||||
|             <a href="" target="_blank" class="item"> |           <img | ||||||
|                 <img src="../secret/images/minesweeper.png" alt="Image can't be displayed"> |             src="../secret/images/solitaire.png" | ||||||
|                 <h2>Minesweeper</h2> |             alt="Image can't be displayed" | ||||||
|                 <div class="description"> |           /> | ||||||
|                     <p>Uncover squares on a grid while avoiding hidden mines, using numbers to deduce safe spots.</p> |           <h2>Solitaire</h2> | ||||||
|                 </div> |           <div class="description"> | ||||||
|             </a> |             <p> | ||||||
|             <a href="../secret/guessMyNumber/index.html" target="_blank" class="item"> |               A classic card game where the objective is to move all cards to | ||||||
|                 <img src="../secret/images/number.jpeg" alt="Image can't be displayed"> |               foundation piles in ascending order. | ||||||
|                 <h2>Guess My Number</h2> |             </p> | ||||||
|                 <div class="description"> |           </div> | ||||||
|                     <p>A simple game where you try to guess a randomly chosen number within a certain range.</p> |         </a> | ||||||
|                 </div> |         <a href="../secret/mineSweeper/index.html" target="_blank" class="item"> | ||||||
|             </a> |           <img | ||||||
|             <a href="" target="_blank" class="item"> |             src="../secret/images/minesweeper.png" | ||||||
|                 <img src="../secret/images/endless_runner.png" alt="Image can't be displayed"> |             alt="Image can't be displayed" | ||||||
|                 <h2>Endless Runner</h2> |           /> | ||||||
|                 <div class="description"> |           <h2>Minesweeper</h2> | ||||||
|                     <p>Run through an endless landscape, avoiding obstacles and collecting items to score points.</p> |           <div class="description"> | ||||||
|                 </div> |             <p> | ||||||
|             </a> |               Uncover squares on a grid while avoiding hidden mines, using | ||||||
|         </div> |               numbers to deduce safe spots. | ||||||
|  |             </p> | ||||||
|  |           </div> | ||||||
|  |         </a> | ||||||
|  |         <a | ||||||
|  |           href="../secret/guessMyNumber/index.html" | ||||||
|  |           target="_blank" | ||||||
|  |           class="item" | ||||||
|  |         > | ||||||
|  |           <img | ||||||
|  |             src="../secret/images/number.jpeg" | ||||||
|  |             alt="Image can't be displayed" | ||||||
|  |           /> | ||||||
|  |           <h2>Guess My Number</h2> | ||||||
|  |           <div class="description"> | ||||||
|  |             <p> | ||||||
|  |               A simple game where you try to guess a randomly chosen number | ||||||
|  |               within a certain range. | ||||||
|  |             </p> | ||||||
|  |           </div> | ||||||
|  |         </a> | ||||||
|  |         <a href="" target="_blank" class="item"> | ||||||
|  |           <img | ||||||
|  |             src="../secret/images/endless_runner.png" | ||||||
|  |             alt="Image can't be displayed" | ||||||
|  |           /> | ||||||
|  |           <h2>Endless Runner</h2> | ||||||
|  |           <div class="description"> | ||||||
|  |             <p> | ||||||
|  |               Run through an endless landscape, avoiding obstacles and | ||||||
|  |               collecting items to score points. | ||||||
|  |             </p> | ||||||
|  |           </div> | ||||||
|  |         </a> | ||||||
|  |       </div> | ||||||
|     </main> |     </main> | ||||||
| 
 | 
 | ||||||
|     <footer> |     <footer> | ||||||
|         <p>© 2025 Game Collection</p> |       <p>© 2025 Game Collection</p> | ||||||
|     </footer> |     </footer> | ||||||
| </body> |   </body> | ||||||
| </html> | </html> | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue