8000 GitHub - AdmiralGT/gop_scoring_sim
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

AdmiralGT/gop_scoring_sim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gop_scoring_sim

Scoring simulator for the Game of Phones event.

Python 3 only, recommended to run in a virtualenv, install requirements using pip install -r requirements.txt

Usage:

gop_scoring_sim.py [-h] [--iterations [0-10000]] [-v] config

Simulate Game of Phones competition scores.

positional arguments:
  config                The config file containing the teams, scores and
                        events

optional arguments:
  -h, --help            show this help message and exit
  --iterations [0-10000]
                        The number of iterations to simulate scoring for
  -v                    Verbose logging

A configuration file must be provided, an example is provided in config.yaml. The configuration file must take the following format:

scores:
  alliance:
  - list of integer scores, in descending order, the number of which must match the 
    number of unique alliance defined in teams->alliance.
  normal:
  - list of integer scores, in descending order, the number of which must match the
    number of teams defined.
teams:
    - a list of teams, each in the following format
    - name: <Team name, string>
      strength: <Comparitive strength, float
      alliance: <Alliance name, string>
events:
  alliance: <number of alliance events, integer>
  normal: <number of normal events, integer>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0