Skip to content

PubuduGunasekara/Coffee-Machine-Kotlin

Repository files navigation

Coffee Machine Simulator

Welcome to the Coffee Machine Simulator project! This program simulates a coffee machine that can brew three types of coffee: espresso, cappuccino, and latte. Users can interact with the machine by selecting their desired coffee, adding ingredients such as milk and sugar, and collecting their beverage.

Features

  • Brew three types of coffee: espresso, cappuccino, and latte.
  • Add milk and sugar to customize your coffee.
  • Collect payment for each coffee order.
  • Receive notifications when ingredients are running low.

Getting Started

  1. Clone the repository to your local machine.
  2. Ensure you have Kotlin installed.
  3. Run the CoffeeMachine.kt file in your Kotlin environment.

Usage

Follow the on-screen prompts to interact with the coffee machine. Here's how it works:

  1. Select the type of coffee you want.
  2. Add milk and sugar if desired.
  3. Insert payment for your order.
  4. Enjoy your freshly brewed coffee!

Technologies Used

  • Kotlin Programming Language

Contribution Guidelines

If you'd like to contribute to the project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/your-feature-name).
  3. Make your changes.
  4. Commit your changes (git commit -am 'Add some feature').
  5. Push to the branch (git push origin feature/your-feature-name).
  6. Create a new Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgements

  • This project is part of the JetBrains Academy Kotlin track.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages