Inspiration

I was inspired by random number generated games like Pokémon and Omori where you collect and upgrade your items as you continue through the game.

What it does

The program sets the player in a spaceship, traveling across the universe to make a profit by battling enemies, collecting space rocks, and escaping blackholes. It's intention is to have many random possible events so the player can play as long as they desire or until they reach a game over.

How we built it

I used a series of functions and loops so events can be repeated for as long as the game is running. Each function is a different event or interaction in the game, but the player's stats and inventory are the same during each interaction.

Challenges we ran into

I found it really difficult to test my code because of how many different possibilities there are. What made this easier was testing individual parts - variables, loops, and functions - in a different file, but I still had to edit the code so it would work when connected to the other functions and variables.

Accomplishments that we're proud of

I'm proud of making a visually pleasing text-based game without adding my own graphics. I tried to make this as interactive as possible while still being a simple game.

What we learned

I learned how to make player based input timed using a timer import for Python. I used this for the blackhole interaction.

What's next for Universal Buddy

I hope to learn more about developing games in Pygame so I can add my own creative graphics - sprites, obstacles, sounds, backgrounds, etc. - and more engaging interactions.

Built With

Share this project:

Updates