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!
-
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!
Disclaimer: Asteroids is not responsible for any addiction that may occur due to excessive playing. Play responsibly!
Play the Game ๐๐
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! ๐ฝ๐ฝ๐ฝ