Skip to content

Samir-mtz/Hilo-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

Hilo

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.

Rules:

    - The player starts the game with 300 points.
    - Individual cards are represented as a number from 1 to 13.
    - The current card is displayed.
    - The player guesses if the next one will be higher or lower.
    - The the next card is displayed.
    - The player earns 100 points if they guessed correctly.
    - The player loses 75 points if they guessed incorrectly.
    - If a player reaches 0 points the game is over.
    - If a player has more than 0 points they decide if they want to keep playing.
    - If a player decides not to play again the game is over.

Getting Started


Make sure you have Python 3.8.0 or newer installed and running on your machine. Open a terminal and browse to the project's root folder. Start the program by running the following command.

python3 Hilo 

You can also run the program from an IDE like Visual Studio Code. Start your IDE and open the project folder. Select the main module inside the Hilo folder and click the "run" button.

Project Structure


The project files and folders are organized as follows:

root                    (project root folder)
+-- Hilo                (source code for game)
  +-- game              (specific classes)
  +-- main.py           (program entry point)
+-- README.md           (general info)

Required Technologies


  • Python 3.8.0

Authors


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages