Skip to content

Create teams automatically based on discrete scores of the players

License

Notifications You must be signed in to change notification settings

Nagasaki45/Xteams

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a67ed34 · Apr 17, 2024
Sep 25, 2021
Feb 14, 2020
Sep 25, 2021
Dec 7, 2023
Sep 30, 2022
Sep 30, 2022
Jan 30, 2020
Sep 30, 2022
Sep 16, 2014
Dec 16, 2020
Sep 30, 2022
Jan 30, 2020
Dec 7, 2023
Dec 7, 2023
Apr 17, 2024

Repository files navigation

Xteams!

Build Status codecov

You want to create teams, but:

  • How can one create teams when Dana doesn't want to play with Haim, who must play with Jacob but not with Yossi... You've got the idea.

  • No one will ever want to help in creating teams as he may end up insulting a not-so-good player by choosing him last.

  • Maybe you have too many players around for one game, but just enough for a tournament of 4 teams.

Xteams aim to solve these issues with one goal in mind:

Create teams automatically based on discrete scores of the players

Using Xteams, group managers can give scores to players in the management panel. Players of the group can't access this panel but can see the list of players, mark which of them arrived to the game and create teams easily.

Development

Install postgres.

Now, run install dependencies and setup the database:

$ python -m venv env  # virtualenv is highly recommended
$ source env/bin/activate
$ pip install -r requirements.txt  # or use pip-tools
$ python manage.py migrate
$ python manage.py createsuperuser  # optionally

You are ready to go! Run:

$ python manage.py runserver