Skip to content

karolfaltyn/asteroids

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Asteroids

Overview

Asteroids is a classic arcade-style game from 1979, that allows players to control a spaceship and navigate through an asteroid field, avoiding collisions and shooting asteroids.

Getting Started

To play online, visit https://karolfaltyn.github.io/asteroids/.

To install project locally, follow these steps:

  1. Clone the repository to your local machine:

    git clone https://github.com/karolfaltyn/asteroids.git
  2. Navigate to the project directory:

    cd asteroids
  3. Open the index.html file in your web browser.

  4. Start playing the game!

How to Play

Navigate your spaceship through the asteroid field, avoiding collisions with the asteroids. Use your spaceship's blasters to shoot and destroy the asteroids.

The game ends when your spaceship collides with an asteroid. Challenge yourself to destroy all asteroids!

Controls

  • Arrow Keys: Use the arrow keys (up, down, left, right) to control the movement of your spaceship.
  • Spacebar: Press the spacebar to shoot blasters and destroy asteroids.

Technologies Used

  • HTML
  • JavaScript

License

This project is licensed under the MIT License.

About

Recreated Asteroids game from 1979 in JavaScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published