Back to Portfolio
- Group: Jared Andraszek, Logan Ferguson, Joseph Kaufman, and Myles O’Toole
- Class: CSCI 325 Object Oriented Programming
- Grade: A
- Language(s): Java
- Source Code Repository:CSCI 325/RestaurantMenusGenerator
(Please email me to request access.)
Project description
This program simulates a restaurant ordering experience, allowing users to:
-
Choose a Restaurant:
- Select from a list of available restaurants.
- View previous customer reviews for the chosen restaurant (loaded from a text file).
- Proceed directly to the menu without reviewing past comments.
-
Browse the Menu:
- Access the menu for the chosen restaurant (loaded from a separate text file).
- View available dishes and their descriptions.
-
Build Your Order:
- Select items from the menu to add them to your order.
- Add or remove items as needed.
-
Review and Pay:
- View a detailed receipt listing the chosen items and their prices.
- Add a tip (as a percentage) to the order total.
- Pay for the order using a simulated card payment.
-
Review and Rate (Optional):
- Review the chosen restaurant based on your experience.
- Submit a rating (numerical score) for the restaurant.
- The user’s review and rating are stored in a text file for future reference by other users.
How to compile and run the program
How to compile (if applicable) and run the project.
$ java -jar "RestarauntMenu.jar"
UI Design
- Displays all of the menus in the terminal giving the user the option to select an option by
entering the Selection Code.
- User receives a prompt asking if they would like to view the reviews for the restaurant. If so, a
new screen will be displaying reviews otherwise it will move on to displaying the menu Items.
- The menu of the selected restaurant is displayed and items can be added by typing in the items
number.
- Displays receipt and asks if user wants to continue to payment or cancel.
- Payment information and additional confirmation.
- Option to add review, and thank you credits.
Fig 1. The welcome screen.
Fig 2. Example output after input is processed when you choose to see reviews.
Fig 3. Example output after input is processed for adding items to your order.
Fig 4. Example output after input is processed (seeing receipt).
Fig 5. Example output after input is processed (payment confirmation prompt).
Fig 6. Example output after input is processed (write a review).
Fig 7. Example output after input is processed (yes selected).
Fig 8. Example output after input is processed (submitted/credits).
Fig 9. Feedback when an error occurs a restaurant closed.
Fig 10. Feedback when an error occurs (number out off menu/not a number).
Fig 11. Feedback when an error occurs (card errors).
For more details see GitHub Flavored Markdown.
Back to Portfolio