This GitHub repo hosts a compilation of my completed Python projects.
The source code on this project runs on:
What can be better than a cup of coffee during a break? A coffee that you don’t have to make yourself. It’s enough to press a couple of buttons on the machine and you get a cup of energy; but first, we should teach the machine how to do it. In this project, I've created a coffee machine simulator. The machine works with typical products: coffee, milk, sugar, and plastic cups. If it runs out of something, it displays a notification. This coffee machine simulator has the following features:
- You may choose either to buy coffee, fill the machine, display quantity, or collect money
- You get three types of coffee: espresso, cappuccino, or latte
The coffee_machine_v4.py is the final version of the Coffee Machine project, refactored from using basic functions to Object-Oriented Programming principles.
A simple code for a local zoo to look after its denizens. This is a tool for monitoring animals and their status.
- zookeeper_v1.py (FINAL)
I've created a simple console chat bot which respons to simple commands like word or number "guess" games.
- chattybot_v1.py (FINAL)
Games can help you kill time when you’re bored. But before smartphones, people played games the classic way – with paper and pencil. This is a recreation of the original game "Hangman" where the player has to guess a word, letter by letter, with a given limited number of attempts. Good luck with guessing!
Finance is an important part of the life of any people. Sometimes you think about getting additional income and want to open a deposit account and sometimes you need additional money right now and want to take a credit or mortgage. Anyway, you may want to calculate different financial indicators to make a decision. This credit calculator is an instrument that can help us.
Everybody remembers this paper-and-pencil game from childhood: Tic-Tac-Toe, also known as Noughts and crosses or X's and O's. A single mistake usually costs you the game, but thankfully it is simple enough that most players discover the best strategy quickly.
- tictactoe_v1.py
- In progress (FINAL)
Typical Usage
- For testing and educational purposes only
- No prior software prerequisites required
- Installation of Python 3.7 is optional
- Knowledge of how to run Python scripts locally would be beneficial
- Clone this repo to your local machine by typing:
$ git clone https://github.com/aarreza/hyperskill
cd
into the directory of the source code
For this purpose, we will be using the CoffeeMachine project
$ cd CoffeeMachine
- Run
chmod a+x filename.py
in order to make the script executable
Replace filename.py with name of the script you are modifying permissions for
- Run the script by typing
./coffee_machine_v4.py