https://github.com/oliverwebdev/asteroids
Asteroids, a challenging game that stands as one of my most ambitious projects to date. Originally developed as a culmination project for the JavaScript module, it has evolved into a game that I'm immensely proud of. Maneuver through a field of asteroids, blasting them apart while avoiding collisions, in this classic space adventure!
https://github.com/oliverwebdev/asteroids
Last synced: 4 months ago
JSON representation
Asteroids, a challenging game that stands as one of my most ambitious projects to date. Originally developed as a culmination project for the JavaScript module, it has evolved into a game that I'm immensely proud of. Maneuver through a field of asteroids, blasting them apart while avoiding collisions, in this classic space adventure!
- Host: GitHub
- URL: https://github.com/oliverwebdev/asteroids
- Owner: Oliverwebdev
- Created: 2023-11-08T08:44:02.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-23T12:19:02.000Z (over 1 year ago)
- Last Synced: 2023-11-23T13:32:37.591Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 151 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Asteroids Game in JavaScript
This is a simple implementation of the classic Asteroids game in JavaScript.
## Instructions
1. **Controls:**
- **Up arrow:** Move the spaceship forward
- **Left/Right arrows:** Rotate the spaceship
- **Spacebar:** Shoot
2. **Objective:**
- Destroy asteroids by shooting at them.
- Dodge asteroids to avoid collisions.
- Survive as long as possible and achieve the highest score.## Gameplay
In the game, you navigate a spaceship through space, trying to avoid collisions with asteroids. You can destroy asteroids by shooting at them. Each destroyed asteroid earns you points. If your spaceship collides with an asteroid, you lose a life. The game ends when you run out of lives.
## Technologies Used
The game was created using JavaScript and utilizes the Canvas API for graphics rendering.
## Installation and Execution
1. Download all the files and save them in a local directory.
2. Open the `index.html` file in a web browser to start playing the game.Enjoy playing!