Skip to main content
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

Metadata

Release files for roachcase 0.3.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for roachcase 0.3.5
File Size Uploaded
roachcase-0.3.5.tar.gz 722.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for roachcase 0.3.5
File Interpreter ABI Platform
roachcase-0.3.5-py3-none-any.whl Python 3 none any Details

Total release size: 1.4 MB

Release files / roachcase-0.3.5.tar.gz

Download URL roachcase-0.3.5.tar.gz
Size 722.4 kB
Tags Source
SHA-256 checksum
How to use checksums
0cbaf9363f6dea36a1be2c0ac85a4f93df32435e1ea1cf8406b6ec07ab3d9322
BLAKE2b-256 checksum
How to use checksums
dc267d1044cf4522cb5c471159d9d9f1048fed48a09d9d3f15eda1232fd11d17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Release files / roachcase-0.3.5-py3-none-any.whl

Download URL roachcase-0.3.5-py3-none-any.whl
Size 725.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6b94f1fe2fdccc2713e87a4223849a18eec781e5d65dc6fbac9f78f9c0c3e2ed
BLAKE2b-256 checksum
How to use checksums
8272d5f5457e98d2fb037054dc2b25b4dd73b4ad052d9d7b2cb4887ba4e5ea9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Release history Release notifications | RSS feed

This release

0.3.5 This release

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page