A classical mathematical game made by Python (includes tkinter)
The 24 Game is an arithmetical card game in which the objective is to find a way to manipulate four integers so that the end result is 24.
The game is played with a deck of 52 cards, each card has a number from 1 to 13, and four cards are drawn.
The game is played by rearranging the numbers and using the four basic arithmetic operations (+, -, *, /) to form an expression that equals 24.
- Install a Python Interpreter: Install python interpreter in the Python Official Website if you do not have
- Navigate to the working directory: open terminal and navigate to the working directory
- Create the Virtual Environment: Use Python's
venv
module to create a virtual environment. You can name the environment anything you like, commonlyvenv
orenv
python -m venv venv
- Activate the Virtual Environment:
- On Windows:
venv\Scripts\activate
- On Unix or MacOS:
source venv/bin/activate
- On Windows:
- Install Requirements: With the virtual environment activated, use
pip
to install all the necessary packages listed in therequirements.txt
file:pip install -r requirements.txt
- Deactivating the Virtual Environment: Once you're done working, you can deactivate the virtual environment:
deactivate
This project is licensed under the MIT License - see the LICENSE file for details.