To the Asteroids page on my portfolio website
Asteroids is an arcade game where you navigate a spaceship around asteroids and shoot at them. When hit, they break into smaller pieces and eventually disappear. Occasionally, flying saucers appear and shoot at you, increasing the challenge. You score points by hitting asteroids and flying saucers with bullets.
Clone the repository. Open a terminal in that folder and type python asteroids.py
to start the game. Press the Enter key to start playing. You can control the spaceship using the arrow keys or WASD. Use the spacebar to shoot. Have fun playing!
If you download my Asteroids clone, you’ll probably notice that while the gameplay is similar, some aspects have been handled differently from the original. For example, asteroids are generated randomly rather than following recurring patterns.