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.

Files for yomi, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size yomi-0.0.1-py3-none-any.whl (5.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size yomi-0.0.1.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page