https://github.com/doridoro/chess_tournament
Project 4 of Openclassrooms Path - Chess Tournament -- create a console programm for a Chess Tournament
https://github.com/doridoro/chess_tournament
cli-app console-game flake8 json-database menu-navigation mvc-architecture python-classes python3
Last synced: about 1 year ago
JSON representation
Project 4 of Openclassrooms Path - Chess Tournament -- create a console programm for a Chess Tournament
- Host: GitHub
- URL: https://github.com/doridoro/chess_tournament
- Owner: DoriDoro
- Created: 2023-02-21T15:59:05.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-07-24T21:37:36.000Z (almost 3 years ago)
- Last Synced: 2025-02-13T12:18:49.527Z (over 1 year ago)
- Topics: cli-app, console-game, flake8, json-database, menu-navigation, mvc-architecture, python-classes, python3
- Language: Python
- Homepage:
- Size: 1.35 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Chess Tournament
## Description:
Project 4 of OpenClassrooms Path: Developer Python - Chess Tournament -- create a console based Chess Tournament
program
The application must be a stand-alone, offline program. The program must be written in Python and run from the console.
In other words, the execution of the program should look like this: **python3 main.py** . The program should run
on Windows, Mac or Linux and have a requirements.txt file listing the dependencies needed to run the program.
We would like to contain a database of players in JSON files.
The program should have a section dedicated to adding players and a tournament.
## Installation:
open terminal
1. `git clone https://github.com/DoriDoro/Chess_Tournament.git`
2. `cd Chess_Tournament`
3. `python -m venv venv`
4. `. venv/bin/activate` (on MacOS/Linux) `venv\Scripts\activate` (on Windows)
5. `pip install -r requirements.txt`
6. `python3 main.py`
## flak8-report:
open terminal
1. `cd Chess_Tournament`
2. `python -m venv venv`
3. `. venv/bin/activate` (on MacOS/Linux) `venv\Scripts\activate` (on Windows)
4. `flake8 --format=html --htmldir=flake8-report`
## Visualisation of the project:
1. start the program with `python3 main.py`
2. The Main Menu:

3. Create a new Player:
1. Choose the Tournament for the new Player:

2. Create a new Player:

3. Tournament already all Players:

4. Create a new Tournament:

5. Start a Tournament:
1. Choose the Tournament you want to start:

2. The chosen Tournament starts the first round
3. Set the scores for the first round:

4. Results of the first round:

5. Question to continue with next round or quit Tournament:
(I have chosen to quit the Tournament for demonstrate purpose)

6. Resume Tournament:


7. Results of Tournaments:




