A PettingZoo AECEnv implementation of the Fanorona board game.
Project description
Fanorona AEC Environment
This is an implementation of the Fanorona board game as a PettingZoo AEC game. The rules have been sourced from here. An additional rule where games exceeding 45 moves end in a draw has been implemented, since the original rules do not have explicit draw conditions.
Installation
git clone https://github.com/AbhijeetKrishnan/fanorona-aec.git
cd fanorona-aec
pip install -e .
Usage
Setting up a basic environment
In a Python shell, run the following:
import pettingzoo
import fanorona_aec
env = fanorona_v0.env()
Testing
We use pytest for tests. You can run them via:
pytest
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
fanorona-aec-1.0.0.tar.gz
(11.7 kB
view details)
Built Distribution
File details
Details for the file fanorona-aec-1.0.0.tar.gz
.
File metadata
- Download URL: fanorona-aec-1.0.0.tar.gz
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
1b83c5bf79308d41cb67a4daee25621f3c82c74f00faec64e15e2b22b7e9ba29
|
|
MD5 |
201303f2fede5dc860ac3415385344f5
|
|
BLAKE2b-256 |
375823943d59bda2418ade664675eb431931626ac4f3811c2472b6a8b4cf472a
|
File details
Details for the file fanorona_aec-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: fanorona_aec-1.0.0-py3-none-any.whl
- Upload date:
- Size: 13.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
b6e34fa16333893f937b55936404c9d18115b03e776cde6cd0a77c3b94cacfd9
|
|
MD5 |
db688693d9cb9e67c5a268257471e71c
|
|
BLAKE2b-256 |
78485a1160005176abd51833131285598b6a6a899f1a9cfc06ee63f15266f36f
|