Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pedrofnseca/asteroids


https://github.com/pedrofnseca/asteroids

game javascript javascript-game p5js

Last synced: 5 days ago
JSON representation

Awesome Lists containing this project

README

        

# [Asteroids Game](https://pedrofnseca.github.io/asteroids/) 🚀🌑

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](https://pedrofnseca.github.io/asteroids/) 🚀🌑

---

## Technical details

Asteroids is built using a combination of pure JavaScript and the [p5.js](https://p5js.org/) library (and Maizena).

[p5.js](https://p5js.org/) 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! 🌽🌽🌽