Tools for running tournaments of AI agents against each-other
Project description
yomi
A collection of tools for running tournaments of AI agents against each-other on various games
Install
pipenv install yomi
Local Development
For local work, setting up a new Pipfile
and Pipfile.lock
can be acomplished via:
pipenv install -e .
pipenv install --dev -e .[dev]
Example
Running an example random_unlimited_tournament
from yomi.base import random_unlimited_tournament
from yomi.agents import RandomAgent
from yomi.games import TicTacToe
results = random_unlimited_tournament(TicTacToe, ((RandomAgent, {'name': 'p1'}), (RandomAgent, {'name': 'p2'})))
print(results[0].mean())
Testing
pytest
flake8
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
yomi-0.0.1.tar.gz
(3.3 kB
view details)
Built Distribution
yomi-0.0.1-py3-none-any.whl
(5.5 kB
view details)
File details
Details for the file yomi-0.0.1.tar.gz
.
File metadata
- Download URL: yomi-0.0.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | efaca2795b2dff8696dca8f580c4be9b2b520df26732ff537403316903770f7a |
|
MD5 | a4108f5cfc298756614f2b201ed48bce |
|
BLAKE2b-256 | 451c8abf79a1682c8b4155abc9470c8e8ddcbb9efb47bc76ad8f441633d7d05b |
File details
Details for the file yomi-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: yomi-0.0.1-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06e52cbd5c41d5d25d554ed6144718a289efc7240c6aeacc128473e211c7781f |
|
MD5 | 7675646d742a08f2093c129fba229495 |
|
BLAKE2b-256 | b4821ed0e67c035d3fce4db184c9b47707e383019ade4038f78ebac92b6e2876 |