Arimaa Engine Interface tools
Project description
AEI Readme
This package provides a specification for the Arimaa Engine Interface (AEI).
It also includes some tools for using engines that implement AEI. Including an
interface to the arimaa.com gameroom. A full description of AEI can be found in
the file AEI_PROTOCOL.md.
The scripts included for working with an AEI engine are:
analyze- A simple script that runs an engine and has it search a given position or move sequence.gameroom- AEI controller that connects to the arimaa.com gameroom and plays a game.postal_controller- Keeps a bot making moves as needed in any postal games it is a participant in.pyrimaa_tests- Test runner utility.roundrobin- Plays engines against each other in a round robin tournament.simple_engine- Very basic AEI engine, just plays random step moves.
Basic examples of using the scripts can be found in the file USAGE.md.
The pyrimaa package also includes modules implementing the controller side of
the AEI protocol (aei.py), the Arimaa position representation (as bitboards
in board.py), and a few utility functions for handling Arimaa timecontrols
(util.py).
Installation
For CLI Tools (Recommended)
If you just want to use the command-line tools, install with uv:
uv tool install aei
This creates an isolated environment for the AEI tools and makes them available in your PATH automatically. You can immediately run commands like analyze, gameroom, roundrobin, etc. without managing virtual environments.
For Library Usage or Traditional Installation
If you need to import pyrimaa modules in your own Python code (for example, to use pyrimaa.aei, pyrimaa.board, or pyrimaa.util), use:
uv pip install aei
Or install from a source directory checkout:
uv pip install .
Or skipping uv and using plain pip:
pip install aei
For Development
If you're contributing to the AEI project, install in editable mode:
uv pip install -e .
Or with pip:
pip install -e .
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aei-1.4.0.tar.gz.
File metadata
- Download URL: aei-1.4.0.tar.gz
- Upload date:
- Size: 54.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
368cd3e53e54fc57f325a7714f25d80129fb8e87fd0b9d5280b95b47bae11db2
|
|
| MD5 |
1e2135b7e2d3637b052a1d7fe44d9b2f
|
|
| BLAKE2b-256 |
68a1c636d83714ee3fe59b579ccde051f39653fcfdf91cb064d605c1a0fd4efd
|
File details
Details for the file aei-1.4.0-py3-none-any.whl.
File metadata
- Download URL: aei-1.4.0-py3-none-any.whl
- Upload date:
- Size: 58.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2834aa326bb6b848b0c4467419e5795edf1546d4671c55ff50c409ab09ebe3a7
|
|
| MD5 |
095c27fc6c7140670d8e9506fe33f3f3
|
|
| BLAKE2b-256 |
dca0f3aa101fbceee5ef338f2166a2b97e790b886189eaae9f4d39e7a6cb6b80
|