Skip to main content

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


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 hashes)

Uploaded Source

Built Distribution

yomi-0.0.1-py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page