Inspiration

Video games are what bring many individuals together and our group thought it would be a good idea to create a game where friends can interact and play!

What it does

Space Blaster is a 2 player shooter game where it allows two people to activate lasers and shoot each other. Last one alive wins! There are also many upgrades in order to help one win against his or her opponent.

How we built it

In order to build the game, we created a JFrame and JPannel for the graphical user interface. Additionally, we added action listeners to listen for key inputs. We also utilized a time increment to keep track of the score and time. Lastly, we created specific classes for each of the components. For example, the ellipses are the players, and monsters and lasers extend the ellipse class.

Challenges we ran into

Compiling the classes, creating the specific algorithms, and finding the vector calculation for better aim were just a few of the predicaments that we ran into.

Accomplishments that we're proud of

We are proud of the efficiency our team was able to work at as we had brainstormed ideas prior to the start of the hackathon. Because of this, we had an early start and were able to complete our game.

What we learned

We learned how to make code more efficient to run smoother, and how to utilize vector calculation in order to alter the accuracy of the players(This had helped with creating upgrades).

What's next for Space Blaster

We hope to transfer Space Blaster into a mobile app to make it more accessible to the public.

Built With

Share this project:

Updates