Skip to content

A fun minigame made using vanilla JavaScript based on the Atari classic with the same name. You control a tiny spaceship in a dark space and dodge hexagonal asteroids of different sizes. Use WASD or Cursor Keys to move around and Spacebar to shoot bullets at the asteroids.

Notifications You must be signed in to change notification settings

VibhorAgrawal2003/Asteroids

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Asteroids

An arcade game made using HTML, CSS and JavaScript inspired from the Atari game, Asteroids. This game was built to learn Javascript and practice Object Oriented Programming concepts along with rendering frames to build canvas based 2D web games.

Hosted Link

The game is hosted using Netlify: 👉click me to play asteroids👈

Contributing

To contribute to this project, you can follow these steps:

  • Fork this repository.
  • Clone it to your machine. git clone https://github.com/VibhorAgrawal2003/Asteroids.git
  • Create a branch and work on a feature. git checkout -b branch_name
  • Commit necessary changes. git commit -m 'feat: Added UFOs'
  • Push changes to branch. git push -u origin branch_name
  • Create a Pull Request.

I will review the PR and merge the branch if it helps improve the game. ^^

About

A fun minigame made using vanilla JavaScript based on the Atari classic with the same name. You control a tiny spaceship in a dark space and dodge hexagonal asteroids of different sizes. Use WASD or Cursor Keys to move around and Spacebar to shoot bullets at the asteroids.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published