Inspiration
This project was inspired by the tron and snake games.
What it does
In Space Snakes, you control your snake and try to collect fruits to grow. Eventually, you will get long enough to cut off your opponent, killing them and thereby winning the game. There are three gamemodes: Singleplayer (regular snake), Multiplayer (local co-op versus), and CPU (multiplayer with computer algorithm).
How we built it
We built the game entirely in Python using the pygame library.
Challenges we ran into
- Working together with git.
- Coming up with algorithms necessary for this game.
- Creating buttons for the menus.
- Deciding on the base code and structure.
- Keeping everything organized and consistent as more ideas were implemented.
Accomplishments that we're proud of
We are proud that we were able to implement 3 different gamemodes using the same framework. Creating menus, buttons, and the GUI was a big accomplishment aswell. Furthermore, we multiplayer possible using multiple controls without a slow program.
What we learned
One of the biggest lessons were learned was how to properly use git and github with a team. Most of us have never used github for team projects and learned a lot about merging and branching. At the start of this, only one of us knew how to use pygame, but now we all do. We learned a lot about creating GUIs and using event loops as well as working with Python classes.
What's next for space snakes
We were not able to implement even half of our origional ideas. To continue, we can add sliders in the menu to change the game's size, zoom, and speed. We also planned to further develop and improve the CPU algorithms. At the moment, the algorithm just bee-lines to the fruit, but we want to make it strategize and attack/avoid the other player. Furthermore, we wanted to add randomly generated obstacles (walls) that wouldn't move as well as sound effects and music. There is still a lot we can and will do to improve the project post-pickle.
Log in or sign up for Devpost to join the conversation.