Skip to content

Commit 0013a7e

Browse files
committed
Added readme.md file for Coffee Machine Game in python
1 parent f4d92df commit 0013a7e

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Coffee-Machine-py-game/readme.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Coffee Machine
2+
3+
This is a Python program that simulates a coffee machine. It allows you to choose from three types of coffee: espresso, latte, and cappuccino. You can check the availability of resources (water, milk, coffee beans, and cups) and buy a coffee by inserting the required amount of coins.
4+
5+
## Prerequisites
6+
7+
- Python 3.x
8+
9+
## Usage
10+
11+
1. Clone the repository or download the `coffee_machine.py` file.
12+
2. Open a terminal or command prompt and navigate to the directory where the file is located.
13+
3. Run the following command to start the program:
14+
15+
```shell
16+
python coffee_machine.py
17+
4. Follow the prompts to choose your desired coffee and enter the number of coins for payment.
18+
5. Enjoy your coffee!

0 commit comments

Comments
 (0)