Inspiration

As a kid, my favorite type of games were space shooter games, so I decided to create a space shooter arcade with 2 games. For the first game, I recreated my favorite game growing up, Space Invaders, and adding awesome functionalities and soundtracks to the game. For the second game, I created a new PVP Space Shooting game (design for 2 players), so 1 retro game and 1 new game.

What it does

The first game is a classic Space invader game, where the player must shoot the enemies before they reach the middle of the screen. For the second PVP game, each player has a spaceship, unlimited bullets, 10ps health and a side (red or yellow side). The players will face off and try to shoot each other until a player reaches 0 health, then the other player (red or yellow) wins.

How to play

For the Space PVP game the left player (yellow) moves using AWSD keys and shoots with l-ctrl button. The right side (red) moves using arrows and shoots with r-ctrl. For space invaders, using the ** left and right arrows to move and space to shoot*. To try the game use the links to the replit posts but make sure to make the **window full screen*and close the code tabs. The game on replit is slow and laggy (UNLIKE THE VIDEO) for the best experience download the repo and play, the performance is flawless if you download the repo and open it on your own PC. If you are using replit, after the game loads give it 30s before playing for the performance to be good. The performance was out of my control on replit, as it is replit's servers. In my PC and if you download the app and repo the performance is PERFECT :)

How I built it

I built both games using Python. I did not want to use any non-programming tools to make games found on the internet, as I wanted to enhance my game dev and utilize my Python skills. In python, I used the pygame library to develop the games.

Challenges I ran into

For the first game (Space Invader), the app kept crashing when the game started. At first, I did not know the reason, but after examining my code for about 30 minutes, I realized that I misplaced a line of code that loaded the background image, I placed it in a while loop which causes the image and page to keep reloading and crashing the app. I solved this issue by placing the code outside the while loop.

Accomplishments that we're proud of

I am proud of the way I was able to work in a Hackathon independently for the first time. I believe that teamwork is crucial in any project, however, my teammates were busy, so I decided to still complete the Hackathon as I was confident in my Python skills.

What we learned

I learned how to use the pygame library, as it was my first time using it. Usually, I use the turtle library in python to make games, however, I found out that the pygame library was much more complex and included more inbuilt features, meaning that it required less lines of code than the turtle library.

What's next for SpaceArcade

Right now, I am working on making the PVP Space Shooting Game an online game, where players will be able to search for opponents online and play against each other. I am learning different concepts like working with servers, creating clients, and retrieving and sending information to a server using the game.

Built With

Share this project:

Updates