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,66 +1,93 @@
|
|||
<!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>Secret Game Collection</title>
|
||||
<link rel="stylesheet" href="styles.css">
|
||||
</head>
|
||||
<body>
|
||||
<link rel="stylesheet" href="styles.css" />
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>Secret Game Collection</h1>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<div class="grid-container">
|
||||
<a href="asteroidDestroyer/explenation.html" target="_blank" class="item">
|
||||
<img src="images/asteroid.png" alt="Image can't be displayed">
|
||||
<a
|
||||
href="asteroidDestroyer/explenation.html"
|
||||
target="_blank"
|
||||
class="item"
|
||||
>
|
||||
<img src="images/asteroid.png" alt="Image can't be displayed" />
|
||||
<h2>Secret Asteroid Shooter</h2>
|
||||
<div class="description">
|
||||
<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>
|
||||
<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>
|
||||
</div>
|
||||
</a>
|
||||
<a href="#" target="_blank" class="item">
|
||||
<img src="images/blackjack.jpg" alt="Image can't be displayed">
|
||||
<img src="images/blackjack.jpg" alt="Image can't be displayed" />
|
||||
<h2>Secret Blackjack</h2>
|
||||
<div class="description">
|
||||
<p>Try to beat the dealer by getting a hand value as close to 21 as possible without going over.</p>
|
||||
<p>
|
||||
Try to beat the dealer by getting a hand value as close to 21 as
|
||||
possible without going over.
|
||||
</p>
|
||||
</div>
|
||||
</a>
|
||||
<a href="#" target="_blank" class="item">
|
||||
<img src="images/snake.png" alt="Image can't be displayed">
|
||||
<img src="images/snake.png" alt="Image can't be displayed" />
|
||||
<h2>Snake</h2>
|
||||
<div class="description">
|
||||
<p>Guide the snake to eat food and grow longer while avoiding collisions with the walls and itself.</p>
|
||||
<p>
|
||||
Guide the snake to eat food and grow longer while avoiding
|
||||
collisions with the walls and itself.
|
||||
</p>
|
||||
</div>
|
||||
</a>
|
||||
<a href="#" target="_blank" class="item">
|
||||
<img src="images/solitaire.png" alt="Image can't be displayed">
|
||||
<img src="images/solitaire.png" alt="Image can't be displayed" />
|
||||
<h2>Solitaire</h2>
|
||||
<div class="description">
|
||||
<p>A classic card game where the objective is to move all cards to foundation piles in ascending order.</p>
|
||||
<p>
|
||||
A classic card game where the objective is to move all cards to
|
||||
foundation piles in ascending order.
|
||||
</p>
|
||||
</div>
|
||||
</a>
|
||||
<a href="#" target="_blank" class="item">
|
||||
<img src="images/minesweeper.png" alt="Image can't be displayed">
|
||||
<a href="mineSweeper/index.html" target="_blank" class="item">
|
||||
<img src="images/minesweeper.png" alt="Image can't be displayed" />
|
||||
<h2>Minesweeper</h2>
|
||||
<div class="description">
|
||||
<p>Uncover squares on a grid while avoiding hidden mines, using numbers to deduce safe spots.</p>
|
||||
<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">
|
||||
<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>
|
||||
<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">
|
||||
<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>
|
||||
<p>
|
||||
Run through an endless landscape, avoiding obstacles and
|
||||
collecting items to score points.
|
||||
</p>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
@ -69,5 +96,5 @@
|
|||
<footer>
|
||||
<p>© 2025 Game Collection</p>
|
||||
</footer>
|
||||
</body>
|
||||
</body>
|
||||
</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"
|
||||
aria-label="Number of Bombs"
|
||||
/>
|
||||
<span id="bombsValue">20</span>
|
||||
|
||||
<button id="startGame">Start Game</button>
|
||||
</div>
|
||||
|
@ -38,5 +39,6 @@
|
|||
</div>
|
||||
|
||||
<script src="script.js"></script>
|
||||
<script src="counter.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -45,7 +45,8 @@ label {
|
|||
}
|
||||
|
||||
input[type="number"],
|
||||
input[type="range"] {
|
||||
input[type="range"],
|
||||
span {
|
||||
padding: 12px;
|
||||
margin-bottom: 20px;
|
||||
width: 100%;
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<!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>Game Collection</title>
|
||||
<link rel="stylesheet" href="styles.css">
|
||||
</head>
|
||||
<body>
|
||||
<link rel="stylesheet" href="styles.css" />
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>Game Collection</h1>
|
||||
</header>
|
||||
|
@ -14,38 +14,72 @@
|
|||
<main>
|
||||
<div class="grid-container">
|
||||
<a href="" target="_blank" class="item">
|
||||
<img src="../secret/../secret/images/snake.png" alt="Image can't be displayed">
|
||||
<img
|
||||
src="../secret/../secret/images/snake.png"
|
||||
alt="Image can't be displayed"
|
||||
/>
|
||||
<h2>Snake</h2>
|
||||
<div class="description">
|
||||
<p>Guide the snake to eat food and grow longer while avoiding collisions with the walls and itself.</p>
|
||||
<p>
|
||||
Guide the snake to eat food and grow longer while avoiding
|
||||
collisions with the walls and itself.
|
||||
</p>
|
||||
</div>
|
||||
</a>
|
||||
<a href="" target="_blank" class="item">
|
||||
<img src="../secret/images/solitaire.png" alt="Image can't be displayed">
|
||||
<img
|
||||
src="../secret/images/solitaire.png"
|
||||
alt="Image can't be displayed"
|
||||
/>
|
||||
<h2>Solitaire</h2>
|
||||
<div class="description">
|
||||
<p>A classic card game where the objective is to move all cards to foundation piles in ascending order.</p>
|
||||
<p>
|
||||
A classic card game where the objective is to move all cards to
|
||||
foundation piles in ascending order.
|
||||
</p>
|
||||
</div>
|
||||
</a>
|
||||
<a href="" target="_blank" class="item">
|
||||
<img src="../secret/images/minesweeper.png" alt="Image can't be displayed">
|
||||
<a href="../secret/mineSweeper/index.html" target="_blank" class="item">
|
||||
<img
|
||||
src="../secret/images/minesweeper.png"
|
||||
alt="Image can't be displayed"
|
||||
/>
|
||||
<h2>Minesweeper</h2>
|
||||
<div class="description">
|
||||
<p>Uncover squares on a grid while avoiding hidden mines, using numbers to deduce safe spots.</p>
|
||||
<p>
|
||||
Uncover squares on a grid while avoiding hidden mines, using
|
||||
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">
|
||||
<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>
|
||||
<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">
|
||||
<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>
|
||||
<p>
|
||||
Run through an endless landscape, avoiding obstacles and
|
||||
collecting items to score points.
|
||||
</p>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
@ -54,5 +88,5 @@
|
|||
<footer>
|
||||
<p>© 2025 Game Collection</p>
|
||||
</footer>
|
||||
</body>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue