Inspiration
We wanted to make an app that creates a grocery list based on the amount of money that you have. Normally when you don't have very much money and you are hungry you feel like you have to eat poorly and buy junk food. Junk food does fill you up, but we wanted to make it easier to eat healthy even without very much money.
What it does
It allows the user to enter the amount of money that they have and their dietary preferences and returns a grocery list consisting of somewhat of a well balanced diet (randomly choosing from the food pyramid categories). The user can then click Purchase to go to Walmart.com or they can click Prepare to Print to write the list to a file.
How we built it
We built it using two classes, TkFinalclass and groceryClass. We had to quickly learn the world of tkinter. The Tk class handles the graphics and the grocery class does the computing.
Challenges we ran into
We wanted to be able to order the things online (add them to the grocery cart) but we were unable.
Accomplishments that we're proud of
We are proud that we have something to demo.
What we learned
That hacking takes a lot of time.
What's next for BrokeNHungry
We want to pull information from the web to get the prices of the food items. Incorporate a database of food items, and potentially order for the user.
Built With
- io
- python
- random
- tkinter
- webbrowser
Log in or sign up for Devpost to join the conversation.