-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #487 from SrijaVuppala295/about
Enhanced About Us Page for Alien Invasion Defense Game
- Loading branch information
Showing
9 changed files
with
298 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
* { | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
} | ||
|
||
body { | ||
background-color: #0d1b2a; /* Dark space-like background */ | ||
font-family: 'Arial', sans-serif; | ||
color: #fff; | ||
background-image: url('./assets/images/pngtree-game-space-blue-planet-picture-image_2444872.jpg'); /* Background image */ | ||
background-repeat: no-repeat; | ||
background-attachment: fixed; /* Fixed background */ | ||
background-size: cover; /* Covers entire viewport */ | ||
height: 100vh; | ||
overflow-x: hidden; | ||
} | ||
|
||
header { | ||
padding: 20px 0; | ||
background-color: rgba(13, 27, 42, 0.8); /* Semi-transparent background */ | ||
} | ||
|
||
.main-heading { | ||
font-size: 3em; | ||
color: #00ff80; /* Neon green */ | ||
text-align: center; | ||
margin-bottom: 20px; | ||
} | ||
|
||
.container { | ||
width: 90%; | ||
max-width: 1200px; | ||
margin: 0 auto; | ||
padding-top: 20px; | ||
text-align: center; | ||
} | ||
|
||
h2 { | ||
color: #00ff80; /* Neon green */ | ||
font-size: 2.2em; | ||
margin-bottom: 20px; | ||
} | ||
|
||
p { | ||
font-size: 1.2em; | ||
margin-bottom: 30px; | ||
} | ||
|
||
.highlight { | ||
color: #ffdd00; /* Neon yellow for highlights */ | ||
} | ||
|
||
ul { | ||
list-style: none; | ||
margin-bottom: 40px; | ||
padding-left: 0; | ||
} | ||
|
||
ul li { | ||
font-size: 1.1em; | ||
margin-bottom: 15px; | ||
color: #d0d7de; | ||
} | ||
|
||
ul li::before { | ||
content: '⭐ '; /* Adding star icon before each list item */ | ||
color: #ffdd00; | ||
} | ||
|
||
/* Section styling */ | ||
section { | ||
margin-bottom: 50px; | ||
padding: 20px; | ||
background-color: rgba(13, 27, 42, 0.8); /* Semi-transparent background */ | ||
border-radius: 10px; | ||
} | ||
|
||
/* Hover effect for highlights */ | ||
.highlight:hover { | ||
color: #ff8800; /* Orange hover effect */ | ||
transition: color 0.3s ease; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,131 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>About Us | Alien Invasion Defense</title> | ||
|
||
<link rel="stylesheet" href="about.css"> | ||
</head> | ||
|
||
<body> | ||
<!-- Main Heading: About Us --> | ||
<header> | ||
<h1 class="main-heading">🚀 Alien Invasion Defense 🛸</h1> | ||
</header> | ||
|
||
<div class="container"> | ||
<!-- Introduction Section --> | ||
<section class="intro"> | ||
<h2>Welcome to <span class="highlight">Alien Invasion Defense</span> 👾</h2> | ||
<p> | ||
<span class="highlight">Alien Invasion Defense</span> is an exciting space-shooter game that challenges you to defend your base from waves of alien invaders. With sleek graphics, easy controls, and thrilling gameplay, you’ll be immersed in an intergalactic battle for survival. Are you ready to become the ultimate space defender? | ||
</p> | ||
</section> | ||
|
||
<!-- Features Section --> | ||
<section class="features"> | ||
<h2>🌟 Features</h2> | ||
<ul> | ||
<li>✨ <strong>Exciting Alien Invasion Gameplay:</strong> Fight off waves of alien ships that threaten your base.</li> | ||
<li>🎮 <strong>Easy Controls & Interface:</strong> Simple controls make gameplay intuitive and accessible for all players.</li> | ||
<li>💥 <strong>Three Lives:</strong> Protect your base with only 3 chances before the game ends.</li> | ||
<li>🚀 <strong>Smooth Shooting:</strong> Responsive shooting mechanics to destroy incoming alien invaders.</li> | ||
<li>🖥️ <strong>Modern Graphics:</strong> A visually pleasing, clean interface that complements the game’s exciting pace.</li> | ||
<li>🔄 <strong>Quick Restart:</strong> Restart the game instantly with one click.</li> | ||
<li>🏆 <strong>Leaderboard (Optional):</strong> Track your highest scores and challenge your friends to beat them.</li> | ||
</ul> | ||
</section> | ||
|
||
<!-- Gameplay Section --> | ||
<section class="gameplay"> | ||
<h2>🎮 How to Play</h2> | ||
<ul> | ||
<li><strong>Start the Game:</strong> Click the "Start" button to begin your defense mission.</li> | ||
<li><strong>Move and Shoot:</strong> Use the <span class="highlight">Arrow Keys</span> or on-screen controls to move your spaceship and shoot alien ships.</li> | ||
<li><strong>Lives:</strong> You have 3 lives. You lose a life if an alien reaches your base or if your spaceship is hit.</li> | ||
<li><strong>Game Over:</strong> The game ends when you lose all 3 lives. Click "Restart" to try again!</li> | ||
<li><strong>Progress:</strong> Destroy all alien ships in each wave to advance to the next level and increase your score.</li> | ||
</ul> | ||
</section> | ||
|
||
<!-- Game Rules Section --> | ||
<section class="game-rules"> | ||
<h2>📜 Game Rules</h2> | ||
<ul> | ||
<li><strong>Survive as Long as Possible:</strong> Protect your base by shooting alien ships and avoiding their attacks.</li> | ||
<li><strong>Three Lives Only:</strong> If you lose all your lives (by aliens reaching your base or hitting your ship), the game ends.</li> | ||
<li><strong>Restart Anytime:</strong> Use the "Restart" button to start over and try to achieve a higher score.</li> | ||
<li><strong>Earn Points:</strong> Destroy alien ships to accumulate points and aim for the highest score possible.</li> | ||
</ul> | ||
</section> | ||
|
||
<!-- Tech Stack Section --> | ||
<section class="tech-stack"> | ||
<h2>Tech Stack ⚙️</h2> | ||
<p>Alien Invasion Defense is powered by modern web technologies to ensure a smooth and engaging experience for players. Here’s the tech stack behind the game:</p> | ||
<ul> | ||
<li><strong>HTML5</strong> - Structure and game layout.</li> | ||
<li><strong>CSS3</strong> - For styling and responsive design.</li> | ||
<li><strong>JavaScript</strong> - For dynamic game logic and interactivity.</li> | ||
<li><strong>Canvas API</strong> - For rendering smooth game animations.</li> | ||
</ul> | ||
</section> | ||
|
||
<!-- Contributors Section --> | ||
<section class="contributors"> | ||
<h2>❤️ Our Valuable Contributors</h2> | ||
<div class="contributors-content" align="center"> | ||
<a href="https://github.com/YadavAkhileshh/Alien-Invasion-Defense/graphs/contributors"> | ||
<img src="https://contrib.rocks/image?repo=YadavAkhileshh/Alien-Invasion-Defense" alt="Contributors"> | ||
</a> | ||
<p>We are grateful to everyone who contributed to this project!</p> | ||
</div> | ||
</section> | ||
|
||
|
||
|
||
<!-- Support Section --> | ||
<section class="support"> | ||
<h2> 🤝 Support the Project</h2> | ||
<p>If you find this project helpful, please consider giving it a star on GitHub! Your support helps us grow and improve the game.</p> | ||
|
||
<hr> | ||
<ul> | ||
<!-- Stargazers Section --> | ||
<section class="stargazers"> | ||
<h2>⭐️ Stargazers</h2> | ||
<div align="center"> | ||
<a href="https://github.com/YadavAkhileshh/Alien-Invasion-Defense/stargazers"> | ||
<img src="https://reporoster.com/stars/YadavAkhileshh/Alien-Invasion-Defense" alt="Stargazers Repo Roster"> | ||
</a> | ||
<p>Thank you to all the amazing people who have starred our project!</p> | ||
</div> | ||
<hr> | ||
|
||
<h2>🍴 Forkers</h2> | ||
<div align="center"> | ||
<a href="https://github.com/YadavAkhileshh/Alien-Invasion-Defense/network/members"> | ||
<img src="https://reporoster.com/forks/YadavAkhileshh/Alien-Invasion-Defense" alt="Forkers Repo Roster"> | ||
</a> | ||
<p>Special thanks to everyone who has forked this repository!</p> | ||
</div> | ||
</section> | ||
</ul> | ||
</section> | ||
|
||
<!-- Call to Action --> | ||
<section class="call-to-action"> | ||
<p align="center">Keep learning 📚, exploring 🌍, and contributing 🤝 to make a difference in the world!</p> | ||
<p align="center">Made with ❤️ for all space defenders!</p> | ||
<div align="center"> | ||
<a href="#top"> | ||
<img src="https://img.shields.io/badge/Back%20to%20Top-000000?style=for-the-badge&logo=github&logoColor=white" alt="Back to Top"> | ||
</a> | ||
</div> | ||
</section> | ||
</div> | ||
</body> | ||
|
||
</html> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file added
BIN
+687 KB
assets/images/pngtree-game-space-blue-planet-picture-image_2444872.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters