Inspiration
Being new to programming, we both didn't know where to start. After countless google searches for inspiration, we came across the python snake game. Somehow we landed on a fish game (in place of a snake). To make our game have a storyline, we demonstrate the importance of not littering in the ocean as it affects the wildlife that lives there.
What it does
It plays like the game snake, but there are two different food items you can choose from. One represents actual food, and the other represents trash. If your fish eats the food, it will gain a point, but if it eats trash, it will lose a point. The player does not know which is food or trash -- similar to how a fish in the ocean does not know the difference. You also want to avoid running into the walls of the "ocean."
How we built it
We looked up the basic code for the snake game in python, then made some modifications to ensure it did what we wanted it to do. We added another object that the fish could eat and made the direction keys the up, down, left, and right arrow keys on the keyboard.
Challenges we ran into
As we are both beginners, we don't have lots of experience with code. We had to do many test runs to see if our new code would work, which took a lot of time. Also, our kernel kept dying on us. Learning to navigate Github was also challenging.
Accomplishments that we're proud of
We're proud that we complete our first hackathon! We also got the code to work and do what we wanted it to do!
What we learned
We learned more about the python language and how to make games in python with turtle.
What's next for Just Keep...Eating
Not quite sure....
Built With
- jupyter
- python
- turtle
Log in or sign up for Devpost to join the conversation.