Skip to content

RamenBucket/Term-Project-112

Repository files navigation

Term-Project-112 - Asteroids

Description: “Asteroids” is based on the shooter arcade game with the same name created by Atari in 1979. In the game, you will be controlling a spaceship to shoot asteroids and score points, as well as dodge aliens.

How to run: asteroids.py is the main file, just run it in an editor to run the program. It contains the game class and the ModalApp class. splashScreen.py and endScreen.py contain the spash and end screen classes.

Most of the important code is in player.py, asteroids.py, astroid.py, ray.py, boid.py, and sliceFunction.py.

Libraries: The project only uses 112 graphics, so no modules are needed.

Shortcuts: ctrl+p to pause

Sources used:

Controls:

w - accelerate forward

s - decelerate

a - turn counterclockwise

d - turn clockwise

space - shoot

Gameplay:

Health is in the top left corner and score is in the top right corner

Black polyons are asteroids and you loose health if you are inside.

Small white squares are aliens. You don't loose health from them, but they can shoot tiny black squares that can damage you.

When you sucessfully "slice" an asteroid, you get 100 points

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages