This Django project serves as a comprehensive platform for managing and playing the renowned Coup card game. It offers a user-friendly web interface for seamless gameplay and incorporates a feature to read and display game data from a designated file.
To run this project, you will need the following:
- Python 3.x
- Redis Server
- Git (optional, for cloning the repository)
- Clone the repository
git clone [email protected]:zeryabkhan91/coup-test-task.git
- Create a virtual environment (recommended but optional):
python -m venv venv
- Install the required Python packages:
pip install -r requirements.txt
To start project run command below:
python3 manage.py runserver
It will show up index page, click stat game and enjoy playing it.
The project directory structure is as follows:
coup_game/: Django app containing djano app settings, urls and views. game/: Django app containing the main game logic. templates/: HTML templates for rendering views. static/: Static files (CSS, JavaScript, etc.) for the web application. manage.py: Django management script. requirements.txt: List of Python dependencies.