Skip to content

Tournament script / config file #421

Open
@marcharper

Description

@marcharper

It would be nice to be able to define and execute an external configuration file for running a tournament (not in python), something like:

[strategies]
Random, 0.4
TitForTat
...

[tournament]
rounds = 200
repetitions = 100
noise = 0.05
...

[output]
assets="output_directory"
image_format="png"
...

Then we could do something like

> run_axelrod -s script.axelrod
Running tournament with <N> strategies ...

This way we could allow people to use the library without understanding python and also have reusable tournament specifications (for the goal of reproducibility). It would also separate the internal APIs of axelrod from the actual specification of tournaments, and perhaps e.g. ease mapping a webapp to axelrod.

Any thoughts?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions