Skip to main content

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

Project description

Documentation Status 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.

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.2.0b1.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

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

roachcase-0.2.0b1-py2.py3-none-any.whl (3.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file roachcase-0.2.0b1.tar.gz.

File metadata

  • Download URL: roachcase-0.2.0b1.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for roachcase-0.2.0b1.tar.gz
Algorithm Hash digest
SHA256 7334e7a52fde44ed1960a97c7cf2dc7943957488f5f325c64b3367000c9ad61f
MD5 62c7eabce21aa4b34300c2554f22262f
BLAKE2b-256 8c9dee9e52eaf2b872551b5b4a43ab1a1e29da48167ed627f91c55026555dcc4

See more details on using hashes here.

File details

Details for the file roachcase-0.2.0b1-py2.py3-none-any.whl.

File metadata

  • Download URL: roachcase-0.2.0b1-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for roachcase-0.2.0b1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1c4154c4a60fed11d5a6fa004f5851415748c2dbf2a55ece21da6b7d0a0460f9
MD5 6b57c4ad117d5cebbc68a36ef541af13
BLAKE2b-256 75335d52860473d4bee20999c5fb13c87ce12f371e4eb53941f4db4c4961e737

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