Skip to content

๐Ÿš€ Embark on a galactic odyssey! Navigate your spaceship through asteroid fields, dodging and blasting your way to a mysterious nebula.

Notifications You must be signed in to change notification settings

PedroFnseca/asteroids

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

8 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Asteroids Game ๐Ÿš€๐ŸŒ‘

Welcome to Asteroids, the most exciting and fun space adventure game! Here, you'll navigate through the vastness of space, dodging and blasting asteroids to survive. It's a game of skill, precision, and a bit of luck. Ready to embark on this thrilling journey? Let's get started!


How to destroy the asteroids? ๐ŸŒŒ

  • Navigate your spaceship: Use the arrow or WASD keys to move your spaceship around. Be careful not to hit the asteroids!

  • Blast the asteroids: Press the spacebar to shoot. Aim at the asteroids and blast them into smithereens!

  • Survive: The longer you survive and the more asteroids you blast, the higher your score. Aim for the stars (pun intended)!

  • Game Over: The game ends when you collide with an asteroid. Your final score will be displayed. Try again and beat your high score!

Have Fun and Enjoy! ๐ŸŽฎ๐ŸŒŒ

Disclaimer: Asteroids is not responsible for any addiction that may occur due to excessive playing. Play responsibly!

Play the Game ๐Ÿš€๐ŸŒ‘


Technical details

Asteroids is built using a combination of pure JavaScript and the p5.js library (and Maizena).

p5.js is a JavaScript library that starts with the original goal of Processing, to make coding accessible for artists, designers, educators, and beginners, and reinterprets this for today's web. I use p5.js for rendering the game graphics, handling collisions (with some math), and creating an overall visually appealing

And lastly, Maizena. It's not a programming language or a library, it's our secret ingredient! ๐ŸŒฝ๐ŸŒฝ๐ŸŒฝ

About

๐Ÿš€ Embark on a galactic odyssey! Navigate your spaceship through asteroid fields, dodging and blasting your way to a mysterious nebula.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published