๐Welcome to my Space Invaders game! ๐ฎ This project brings the classic arcade experience to life using ๐ HTML, ๐จ CSS, and ๐ป JavaScript with HTML5 Canvas. ๐
Project Demo: https://nidhiupman568.github.io/SPACE-INVADERS-GAME/
- Game Setup ๐น๏ธ: Built using HTML5 Canvas for smooth graphics rendering. ๐จ
- Player Controls ๐ฏ: Use arrow keys to move the ship โฌ ๏ธโก๏ธ and spacebar to shoot bullets. ๐ซ
- Enemy Generation ๐ฝ: Randomly generate enemy ships that move and attack. ๐
- Collision Detection ๐ฅ: Detect collisions between player bullets and enemy ships. ๐
- Score Tracking ๐: Keep track of the player's score as they defeat enemies. ๐
- Game Over โ ๏ธ: Display game over screen and allow for restart. ๐
- Start the Game ๐: Open
index.html
in your browser. ๐ - Move ๐น๏ธ: Use arrow keys (left and right) โฌ ๏ธโก๏ธ to move the ship. ๐
- Shoot ๐ซ: Press spacebar to shoot bullets and destroy enemy ships. ๐ฅ
- Score Points ๐ : Earn points by shooting down enemy ships. ๐
- Avoid Enemy Fire ๐ฅ: Dodge incoming enemy bullets to survive. ๐ก๏ธ
-
Clone the repository: 'https://github.com/nidhiupman568/SPACE-INVADERS-GAME.git' ๐
-
Open the
index.html
file in your browser. ๐
- HTML5 ๐
- CSS3 ๐จ
- JavaScript ๐ป