Skip to main content

A match making algorithm to create balanced teams from players with different skills.

Project description

Documentation Status https://img.shields.io/pypi/v/roachcase.svg https://github.com/stefanoberri/roachcase/actions/workflows/test-package.yml/badge.svg The roach case

A match making algorithm

The roach case is a match making algorithm to create balanced teams from players with different skills. It has two purposes:

  • Iteratively score player’s skill level based on the outcome of played matches.

  • Use the player’s latest scores to create balanced teams.

Scores are converted into roaches each players has in the roach case. Roaches are traded after each match, depending on the outcome.

It is inspired by the ELO scoring system used in chess and other games.

A Python package

This Python package contains the business logic of the match making algorithm, together with a very simple command line interface and simple persistence layers. Other components can use it and extend it with a different interface (web, standalone, …) and more scalable persistence (local or cloud database). Design is heavily inspired by Clean Architecture and/or Onion Architecture.

Documentation

Please read the latest documentation online

Credits

Stefano Berri

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

roachcase-0.3.5.tar.gz (722.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

roachcase-0.3.5-py3-none-any.whl (725.1 kB view details)

Uploaded Python 3

File details

Details for the file roachcase-0.3.5.tar.gz.

File metadata

  • Download URL: roachcase-0.3.5.tar.gz
  • Upload date:
  • Size: 722.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for roachcase-0.3.5.tar.gz
Algorithm Hash digest
SHA256 0cbaf9363f6dea36a1be2c0ac85a4f93df32435e1ea1cf8406b6ec07ab3d9322
MD5 469ae717f175ce582c1719ae24234afd
BLAKE2b-256 dc267d1044cf4522cb5c471159d9d9f1048fed48a09d9d3f15eda1232fd11d17

See more details on using hashes here.

File details

Details for the file roachcase-0.3.5-py3-none-any.whl.

File metadata

  • Download URL: roachcase-0.3.5-py3-none-any.whl
  • Upload date:
  • Size: 725.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for roachcase-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6b94f1fe2fdccc2713e87a4223849a18eec781e5d65dc6fbac9f78f9c0c3e2ed
MD5 33100dea054276c95f455caff33ed1da
BLAKE2b-256 8272d5f5457e98d2fb037054dc2b25b4dd73b4ad052d9d7b2cb4887ba4e5ea9d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page