Skip to content
/ stratepai Public

Terminal Stratego for the ASCII and ANSI inclined.

License

Notifications You must be signed in to change notification settings

KF-R/stratepai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 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 AI's.

Piece notation:

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

Corresponding piece names:

'Flag', 'Spy', 'Scout', 'Miner', 'Sergeant', 'Lieutenant', 'Captain', 'Major', 'Colonel', 'General', 'Marshall', 'Bomb'


Installation and usage:

git clone https://github.com/KF-R/stratepai
cd stratepai/
echo "API_KEY='INSERT_YOUR_API_KEY_HERE'" > my_env.py
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/