Skip to content

kellyjadams/restaurant-picker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

🍴 Restaurant Picker

My capstone project, Restaurant Picker (V2) was to create a program to solve a problem. This is a simple program I made for a frequent problem my friends and I encounter. It takes my friends at least 15 minutes to choose any restaurant. To test my Python programming skills, I created a program that randomly chooses a restaurant based on a few criteria.

The user will be able to choose two things:

  1. How much you want to spend: cheap, not bad, or expensive (this is all relevant to me and my own budget);
  2. The type of cuisine (i.e. American, Mexican, etc.) you want based on the list that's avaiable.

With these parameters the program randomly picks a restaurant.

You can read more about the project in detail here.

🗒️ Notes

This program is dead simple. There is no option for the program to ask the user for their own restaurant choice (at least right now though this maybe something I do in the future). Why? Because I made this program for me. To solve a problem I have. I included restaurants I frequent along with what I consider "cheap" or "expensive". I also wanted to complete a project that was challenging yet doable with my current skill level. I may expand this program in the future but this is the first edition.

There is no option to replay the picker. Because that's the whole dilemma. Once it picks. It's done. That's it. Live with the decision.

➕ Expansion

I might expand this project in the future. Here are a few features I would add:

  • Let the user input their own choices through a prompt.
  • Webscrape restaurant data from Google

🐞 Problems

These were addressed in Version 2. It improves on the following problems/critiques people pointed out to me:

  • Line 99 use print rather than return
  • Use double quotes throughout the entire program
  • add if __name__ == '__main__'do: in the class
  • Resturants are constants so it should be using capitals
  • Class object names should be in Pascal case.

Version 1 was the original version of my program, which I've kept here for documentation purposes.

About

A program that randomly chooses a restaurant based on a few criteria.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages