Python Program: Hilo Game ?
Hilo is a game in which the player guesses if the next card drawn by the dealer will be higher or lower than the previous one. Points are won or lost based on whether or not the player guessed correctly. The objetive of this project is to use class definitions to simulate an actual game of Hilo according to the rules given in the documentation (see link below).
For further information please visit the following link
To run this script
python>3.5 is recommended
Getting Started ?
- Download and extract the repository.
- Open a terminal and move to the with the cd command to the path where the folder was extract: $ cd “/path/to/project/folder”
- From within the repo directory run the command
$ python main.py (for old versions of python3 run $ python3 main.py)
Following the logic of the real game, every game has a “player” and this player is responsible of start and manage the game and keep control of it during it’s development, therefore, the class Player is the responsible of start the game, take the cards values and compare them