Skip to content

KF-R/stratepai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stratepai (/ˈstrætə-paɪ/ "stratta-pie")

Terminal Stratego for the ASCII and ANSI inclined.

This is a fairly concise plain text Stratego interface that has been useful for experimenting with various LLMs.

Piece notation:

¶ s ¹ ² 3 4 5 6 7 8 9 o
Unknown pieces use:

Corresponding piece names:

'Flag', 'Spy', 'Scout', 'Miner', 'Sgt.', 'Lt.', 'Captain', 'Major', 'Colonel', 'General', 'Marshal', 'Bomb'


Assumes a local endpoint to be already running. Confiugrable via stratepai_openai.py:

LMSTUDIO_URL = "http://127.0.0.1:1234/v1/chat/completions"

Installation and usage

No dependencies to install; venv not necessary.

git clone https://github.com/KF-R/stratepai
cd stratepai/
python stratepai.py

Stratego on Wikipedia:
https://en.wikipedia.org/wiki/Stratego

Leading research on Stratego AI:
https://deepmind.google/discover/blog/mastering-stratego-the-classic-game-of-imperfect-information/

Contributors

Languages