Skip to content

2Tricky4u/Bowsteroid

Repository files navigation

Bowsteroid

Rules

Rules are pretty simple. You are a spaceship lost in space and some asteroids appears randomly. You need to survive by avoid them or destroying them.

-Asteroids:
	-Always spawn at the same place (upper center of the screen) and can spawn on you so stay aware of that danger zone!
	-When touching a border will bounce in a random direction
	-When touching another asteroid will bound in the opposite direction
	-Will explode if touch a laser fired from the spaceship
-The spaceship:
	-Can't go out of the screen
	-Have unlimited ammunition but can only fire a laser at a time (can't fire till the laser is still on screen)
	-Will be destroyed if touched by an asteroids

The goal is to survive the longest time and also to destroy the most asteroids possible.

Each of the score are stored.

The difficulty grows as each minute passed the asteroids spawn one second faster.

There is a maximum of 6 asteroids on screen.

Controls

Movement:

-Use the up key of the keypad to fire a laser
-Use the touchscreen and the green circle to move:
	-If inside the green circle it only change the direction of the spaceship
	-If ouside of the green circle it also moves the spaceship.

Gameplay:

-Use select to pause the game

Summary

Enjoy!

Notes that in the code comments refers to certain methods as private. It is not really private but considering that the .h is the only file to be included in another file, the function referred as private are those not declared in the .h file thus "simulating" a sort of private function.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published