We were interested in creating a player vs. player game where we could inspire fun game play through competition.

What it does

This is a survival game where each player has a joystick-controlled base surrounded by a force field that is used to fend off incoming asteroids. The first player to have three asteroids bypass the force field and strike their base loses.

How we built it

We used two Arduinos to get values from two joysticks and then used Pyserial to move all this input data to Python. The game was then created using Pygame and graphics drawn on Medibang Paint.

Challenges we ran into

It was difficult to use Pyserial to obtain readable values from Arduino (which we were using to implement a joystick). It was also difficult to apply collision detections on a diagonally shaped object as well as deal with lagging.

Accomplishments that we're proud of

We’re proud of the design and layout, the music, and the game’s relative functionality.

What we learned

We learned how to communicate between two Arduinos and Python using Pyserial.

What's next for Space Royale

We will try to reduce lag in the game.

Built With

Share this project: