Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 602 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 602 Bytes

Bandits Tree

Tools for the Bandits Tree homework.

Examples

Examples in the examples directory show how to build a simple poker game, how to export it as a gambit efg file, and how to draw a game tree as a pdf.

You need graphviz (https://www.graphviz.org/download/) to visualize games.

# To build a simple poker game and output it into an efg file:
python test_poker.py > poker.efg

# To draw any efg file as a pdf:
python efg_to_pdf.py poker.efg poker.pdf

Install

Install the package directly from Github.

pip install git+https://github.com/votroto/cgt_bandits.git