Beginner Project Submission
Inspiration
Fun game idea Inspired by other wordle like games and https://poeltl.dunk.town/, an nba basketball player guessing game.
What it does
You will be presented with a mystery food and you have unlimited tries to guess what the food is. To make a guess, type your answer into the search bar and select it from the dropdown menu of foods. If your guess matches the mystery food, you win the game. If your guess does not match the mystery food, we will provide you with hints in the form of a table of nutrition facts for the selected food, indicating whether you are higher or lower than the mystery food amount. (will be more clear with my demo video).
Users try to guess foods based on their nutritive values Educates the public who might be unknowledgeable about food nutrition.
How we built it
Python was used for the back-end, arithmetic, and the logic of the game. Jinja was used to implement python arguments into the HTML tags and texts. BootStrap and CSS was used to make the HTML look pretty and esthetic, although we are quite unexperienced with BootStrap, so we hope to learn more and make it even more esthetic. And finally, the Flask library was used to assemble the Python, HTML, and CSS into a navigable website and server!
Challenges we ran into
We could not find a proper csv or excel database that fitted our needs. Either there were too many foos and we couldn't narrow everything down, or the database was not compete enough. Unfamiliar with some of the programs used., especially Flask, bugs, and errors were extremely frequent, causing me multiple headaches and lost brain cells.
Accomplishments that we're proud of
This game will help others to be more knowledgeable about nutrition facts! Which as a cross-country runner who pays attention to nutrition, is really hopeful end exciting! This is my first hackathon where I was able to submit and finalize a personal project! Therefore I am really proud that it is functional.
What we learned
We learned Flask, and Jinja from scratch so it was a huge challenge that we were able to surmount and succeed in the end.
What's next for NutriGuess
We hope we can polish the game and HTML styling to make it more appealing and implement a database with hundreds of other foods. We also want to be able to automate and randomize the answer every day!
Log in or sign up for Devpost to join the conversation.