Skip to content

This software allows you to generate a multiplayer and multigame tournament plannning with a customizable number of teams and games, and with 1V1 confrontations.

License

Notifications You must be signed in to change notification settings

maxencebonamy/Tournament-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tournament Generator


Description

This software allows you to generate a multiplayer and multigame tournament plannning with a customizable number of teams and games, and with 1V1 confrontations.

To do this, simply enter the team and game names in the config.json file, then run the program, and an Excel file will be generated with the entire tournament schedule.


Get Started

Run the program:

Note

Prerequisites:

  • Git must be installed on your computer. If not, click here.
  • Python version 3.9 or greater must be installed on your computer, if not, click here.

  1. Clone the repository on your computer. To do this, open a terminal in the folder of your choice and run the following command:
git clone https://github.com/maxencebonamyTournament-Generator
  1. Navigate inside the folder you've just cloned with the following command:
cd Tournament-Generator
  1. Install dependencies by running this command:
python -m pip install -r requirements.txt
  1. Start the program with the following command:
python src

Features

Input format:

To configure the tournament, simply edit the config.json file. In this file, there's a list containing the team names, as well as a list containing the game names. This automatically determines the number of teams and games.

Output format:

The program ends by generating an Excel file containing 3 pages, each illustrating the overall tournament schedule, but from different points of view.

  • Global planning: All games by team and time slot.

Description

  • Teams planning: All team games with the team they are playing for each game, according to time slot.

Description

  • Games planning: All teams playing against each other for each game, according to time slot.

Description

Constraints:

  • The number of teams must be even, as this is a 1V1 tournament.
  • The number of games multiplied by two must be greater than or equal to the number of teams, otherwise the tournament cannot be generated.

About

This software allows you to generate a multiplayer and multigame tournament plannning with a customizable number of teams and games, and with 1V1 confrontations.

Topics

Resources

License

Stars

Watchers

Forks

Languages