Skip to content

akanshmurthy/asteroids

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Asteroids

Description

The classic game with a Harry Potter twist.

http://akanshmurthy.github.io/asteroids/

Features

  • Allows players to navigate and shoot with keyboard strokes.
  • Utilizes the Canvas API and the Keymaster microlibrary.
  • Rotates ship by calculating velocity and position with trigonometric functions.
  • Spawns enemies with a custom seeding algorithm for added difficulty.

Gameplay instructions

Visit and link at the top of this page and PLAY!

Use the up key to thrust, down key to brake, left/right keys to rotate the ship (aka Harry's head), and press SPACE to shoot the dementors!

Upcoming features

  • sprites for enemy explosions
  • damage, shield, and powerup capabilities
  • switch to requestAnimationFrame for smoother game play

About

The classic game with a Harry Potter twist.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published