Skip to content

jchung7v/How-To-Make-Ramen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to Teach a Robot to Make Ramen

This is a personal project aimed at teaching myself how to implement Object-Oriented Programming (OOP) analysis and design principles in real-world scenarios, such as making ramen.

Description

The program begins with a robot taking an order (input) from a user, who specifies the type of ramen they wish to eat. After the user selects a ramen, the robot initiates the cooking process. This process includes adding water, turning on the gas stove, and cooking the ramen. The robot continues these steps until it confirms that the gas stove has been safely turned off.

Before starting the coding phase, I wrote down all the requirements on paper. Using these requirements, I created OOP analysis and design models to help organize the components of the code. This approach was beneficial because it allowed me to write more concise code by planning out methods and attributes in advance. Although I occasionally had to revisit my initial plans to add or modify methods, for the most part, I was able to code strictly based on these requirements.

Special thanks to Mr. Lee for helping me resolve questions and obstacles that I encountered.

Screenshots

My Planning

Paper_01

Paper_02

The Executed Result

Paper_03

Technologies Used

Java

Setup and Usage

  1. Run the Java program.
  2. Choose a type of ramen from the given list.

Bugs and Limitations

  • To be determined (TBD)

Future Features

  • Implement a storage class to manage different types of ramen and their quantities.

Project Structure

Top-Level Directory

.
├── HowToMakeRamen                      # Source files
├── testDriver.class                    # Compiled file
├── testDriver.java                     # Java driver file (Run this to execute the program)
├── Images                              # Image files
└── README.md

Source Files

.
├── ...
├── HowToMakeRamen
│   ├── GasStove.java                    # Source file
│   ├── JinRamen.java                    # Source file 
│   ├── NeoGuRiRamen.java                # Source file
│   ├── Order.java                       # Source file
│   ├── Pot.java                         # Source file
│   ├── Ramen.java                       # Source file
│   ├── Robot.java                       # Source file
│   └── ShinRamen.java                   # Source file
└── ...

About

How to teach a robot to make ramen: An OOP Analysis and Design in Java

Topics

Resources

Stars

Watchers

Forks

Languages