# Hyperskill_Coffee_Machine-Java
## Project Overview
**Hyperskill_Coffee_Machine-Java** is a command-line interface (CLI) application that simulates the operations of a coffee machine. This project is designed as an educational tool for beginners to learn about resource management and command-line interactions using Java. Through this project, users can understand the basics of Java programming and how to effectively manage resources within a CLI environment.
## Features
- Simulate various operations of a coffee machine including brewing different types of coffee.
- Manage resources such as water, milk, and coffee beans.
- Command-line interface for interacting with the coffee machine.
- Simple and beginner-friendly Java codebase for educational purposes.Setup and Installation
To run the HyperskillCoffeeMachine-Java application, ensure that you have Java installed on your system. Follow the steps below to set up the project:
- Clone the repository:
git clone https://github.com/yourusername/Hyperskill_Coffee_Machine-Java.git- Navigate to the project directory:
cd Hyperskill_Coffee_Machine-Java- Compile the Java files:
javac CoffeeMachine.java- Run the application:
java CoffeeMachineUsage Examples
Once the application is running, you can interact with the coffee machine via the command line. Here are a few examples of commands you can use:
- Buy Coffee:
- Choose between different coffee types (e.g., espresso, latte, cappuccino).
- Fill Supplies:
- Add more water, milk, or coffee beans to the machine.
- Take Money:
- Collect the money from the machine's cash box.
- Check Remaining:
- View the remaining resources in the machine.
Contribution Guidelines
Contributions are welcome! If you would like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch with a descriptive name.
- Make your changes and commit them.
- Push your changes to your forked repository.
- Open a pull request with a clear description of your changes.