Inspiration
We noticed that even at this event, people chose junk food and unhealthy items over healthier items like whole grains. Eating fast or processed foods is the number one leading cause of obesity in America! We decided to gamify the educational process of the benefits of healthy food. Our pursuit to see less junk food in the world is where our inspiration stems from.
What it does
This game we built allows a player to control a character that walks around, "eating" whatever foods they run into. Energy and score variables change based on the amount of movement and food the player consumes.
How we built it
We build the game in Scratch. We set up multiple forever loops and booleans to detect the position and state of the different foods we implemented into the game. Mainly, we implemented the "if" block to set up a basic boolean.
Challenges we ran into
Since we are beginners/this is our first hackathon, some major challenges we experienced were the inability to import suitable images and characters into the game and the difficulty of making a boolean that could affect another boolean operation. For the majority of people, these tasks may be fairly simple, but they were challenging for us.
Accomplishments that we're proud of
We're proud of our perseverance in creating challenging operations in Scratch and our ability to learn how to adapt to multiple scenarios we haven't experienced before.
What we learned
We learned how to create a boolean variable that triggers another separate boolean operation, thus creating ways to make other similar games or have the same basic code concept that we can build off for the future where we can create more complex games.
What's Next for Eating Healthy vs. Unhealthy
The future of Eating Healthy vs. Unhealthy is adding detail and more features such as harder gameplay, a realistic map that we can work on, and increasing the level of detail within the game characters and objects.
Built With
- google-drawings
- paint-3d
- remove.bg
- scratch
Log in or sign up for Devpost to join the conversation.