Skip to content

Project 4 of Openclassrooms Path - Chess Tournament -- create a console programm for a Chess Tournament

Notifications You must be signed in to change notification settings

DoriDoro/Chess_Tournament

Repository files navigation

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:
    Main Menu
  3. Create a new Player:
    1. Choose the Tournament for the new Player:
      Choose a Tournament for the new Player
    2. Create a new Player:
      Create a Player
    3. Tournament already all Players:
      Tournament full
  4. Create a new Tournament:
    Create a Tournament
  5. Start a Tournament:
    1. Choose the Tournament you want to start:
      Choose a Tournament
    2. The chosen Tournament starts the first round
    3. Set the scores for the first round:
      Scores first round
    4. Results of the first round:
      Results first round
    5. Question to continue with next round or quit Tournament: (I have chosen to quit the Tournament for demonstrate purpose) Quit Tournament
  6. Resume Tournament:
    Resume Tournament
    Second round
  7. Results of Tournaments:
    Results all Players
    Results names of Tournament
    Results names and dates
    Results players of Tournament
    Result of matches

About

Project 4 of Openclassrooms Path - Chess Tournament -- create a console programm for a Chess Tournament

Topics

Resources

Stars

Watchers

Forks