Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
61a0e81
refactor: modularize catalog file management by moving the game file …
edwardchalstrey1 May 26, 2026
659cadd
Step 3 is not optional
edwardchalstrey1 May 26, 2026
66086d1
Clarify docs building
edwardchalstrey1 May 26, 2026
fa16843
docs: update development guide and update catalog path resolution to …
edwardchalstrey1 May 26, 2026
583cc64
fix indentation
edwardchalstrey1 May 26, 2026
43886a1
docs: correct code block language hint for editable install instructions
edwardchalstrey1 May 26, 2026
9e0b74e
docs: clarify when to use developer install in catalog dev doc
edwardchalstrey1 May 27, 2026
820e982
refactor: migrate game visualisation parameters to external YAML conf…
edwardchalstrey1 May 27, 2026
55f4ba9
feat: allow curated .ef files to override auto-generated DrawTree lay…
edwardchalstrey1 May 27, 2026
f49fd52
feat: update catalog image display to support curated EF files when p…
edwardchalstrey1 May 27, 2026
f0d7463
Update comments and add help to args for update.py
edwardchalstrey1 May 27, 2026
2f36d8b
refactor: improve catalog game loading ensure only proper EFG and NFG…
edwardchalstrey1 May 27, 2026
2dc6efc
test: add suite for catalog update logic and update test dependencies
edwardchalstrey1 May 27, 2026
0e16262
nicer formatting of _YAML_CONFIG indents
edwardchalstrey1 May 27, 2026
2d193e9
refactor: update docstrings and comments in catalog update test suite
edwardchalstrey1 May 27, 2026
eaaf8b5
fix: use as_posix() for cross-platform slug path consistency in catal…
edwardchalstrey1 May 27, 2026
ebc8727
chore: update draw-tree dependency to version 0.9.1 in CI and ReadThe…
edwardchalstrey1 May 27, 2026
dc9eb62
feat: enable support for multiple game layout variants in catalog via…
edwardchalstrey1 May 28, 2026
5551804
Merge branch 'master' into fix/888
edwardchalstrey1 May 28, 2026
aa56574
feat: re-add new vonstengel2022 game files and custom draw tree setti…
edwardchalstrey1 May 28, 2026
639d286
feat: migrate download links to dropdown
edwardchalstrey1 May 29, 2026
b51df4a
feat: support efg tab sets for games with suffix variants even when n…
edwardchalstrey1 Jun 1, 2026
e1d65d0
Merge branch 'master' into fix/888
edwardchalstrey1 Jun 1, 2026
cd9d9b3
Add gilboa1997/fig1 to catalog.am
edwardchalstrey1 Jun 1, 2026
52ee100
Update action_label_dist for gilboa1997
edwardchalstrey1 Jun 1, 2026
6517b90
original layout efs for figs 6 and 9 of vonstengelforges2008
rahulsavani Jun 1, 2026
af21819
chore: remove f9-ff.ef from catalog build support files
edwardchalstrey1 Jun 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
cd dist
sdist=$(ls pygambit-*.tar.gz)
pip install -v "${sdist}[test,doc]"
pip install "draw-tree @ git+https://github.com/gambitproject/draw_tree.git@v0.9.0"
pip install "draw-tree @ git+https://github.com/gambitproject/draw_tree.git@v0.9.1"
- name: Run tests
run: pytest --run-tutorials

Expand All @@ -53,7 +53,7 @@ jobs:
- name: Build extension
run: |
python -m pip install -v .[test,doc]
pip install "draw-tree @ git+https://github.com/gambitproject/draw_tree.git@v0.9.0"
pip install "draw-tree @ git+https://github.com/gambitproject/draw_tree.git@v0.9.1"
- name: Run tests
run: pytest --run-tutorials

Expand All @@ -76,7 +76,7 @@ jobs:
- name: Build extension
run: |
python -m pip install -v .[test,doc]
pip install "draw-tree @ git+https://github.com/gambitproject/draw_tree.git@v0.9.0"
pip install "draw-tree @ git+https://github.com/gambitproject/draw_tree.git@v0.9.1"
- name: Run tests
run: pytest --run-tutorials

Expand All @@ -99,6 +99,6 @@ jobs:
- name: Build extension
run: |
python -m pip install -v .[test,doc]
pip install "draw-tree @ git+https://github.com/gambitproject/draw_tree.git@v0.9.0"
pip install "draw-tree @ git+https://github.com/gambitproject/draw_tree.git@v0.9.1"
- name: Run tests
run: pytest --run-tutorials
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ build:
- pdf2svg
jobs:
post_install:
- pip install "draw-tree @ git+https://github.com/gambitproject/draw_tree.git@v0.9.0"
- pip install "draw-tree @ git+https://github.com/gambitproject/draw_tree.git@v0.9.1"
# Create RST for catalog table in docs
- $READTHEDOCS_VIRTUALENV_PATH/bin/python build_support/catalog/update.py

Expand Down
29 changes: 3 additions & 26 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@

ACLOCAL_AMFLAGS = -I m4

include build_support/catalog/catalog.am

EXTRA_DIST = \
build_support/msw/gambit.wxs.in \
build_support/osx/Info.plist.in \
Expand Down Expand Up @@ -205,32 +207,7 @@ EXTRA_DIST = \
contrib/games/yamamoto.nfg \
contrib/games/zero.nfg \
src/README.rst \
catalog/bagwell1995.efg \
catalog/gilboa1997/fig1.efg \
catalog/gilboa1997/fig2.efg \
catalog/jakobsen2016/fig1a.efg \
catalog/jakobsen2016/fig1b.efg \
catalog/jakobsen2016/fig1c.efg \
catalog/jakobsen2016/fig3.efg \
catalog/myerson1991/fig2_1.efg \
catalog/myerson1991/fig4_2.efg \
catalog/nau2004/sec3.nfg \
catalog/nau2004/sec4.nfg \
catalog/nau2004/sec5.nfg \
catalog/nau2004/sec6.nfg \
catalog/reiley2008/fig1.efg \
catalog/selten1975/fig1.efg \
catalog/selten1975/fig2.efg \
catalog/selten1975/fig3.efg \
catalog/vonstengel2022/fig10.1.efg \
catalog/vonstengel2022/fig10.12.efg \
catalog/vonstengel2022/fig10.5.efg \
catalog/vonstengel2022/fig10.7.efg \
catalog/vonstengelforges2008/fig1.efg \
catalog/vonstengelforges2008/fig6.efg \
catalog/vonstengelforges2008/fig9.efg \
catalog/watson2013/exercise29_6.efg \
catalog/watson2013/fig29_1.efg
$(CATALOG_FILES)

core_SOURCES = \
src/core/core.h \
Expand Down
29 changes: 29 additions & 0 deletions build_support/catalog/catalog.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
CATALOG_FILES = \
catalog/bagwell1995.efg \
catalog/gilboa1997/fig1.efg \
catalog/gilboa1997/fig2.efg \
catalog/jakobsen2016/fig1a.efg \
catalog/jakobsen2016/fig1b.efg \
catalog/jakobsen2016/fig1c.efg \
catalog/jakobsen2016/fig3.efg \
catalog/myerson1991/fig2_1.efg \
catalog/myerson1991/fig4_2.efg \
catalog/nau2004/sec3.nfg \
catalog/nau2004/sec4.nfg \
catalog/nau2004/sec5.nfg \
catalog/nau2004/sec6.nfg \
catalog/reiley2008/fig1.efg \
catalog/selten1975/fig1.efg \
catalog/selten1975/fig2.efg \
catalog/selten1975/fig3.efg \
catalog/vonstengel2022/fig10.1.efg \
catalog/vonstengel2022/fig10.12.efg \
catalog/vonstengel2022/fig10.5.efg \
catalog/vonstengel2022/fig10.7.efg \
catalog/vonstengelforges2008/fig1.efg \
catalog/vonstengelforges2008/fig6.efg \
catalog/vonstengelforges2008/fig6__Original_Layout.ef \
catalog/vonstengelforges2008/fig9.efg \
catalog/vonstengelforges2008/fig9__Original_Layout.ef \
catalog/watson2013/exercise29_6.efg \
catalog/watson2013/fig29_1.efg
33 changes: 33 additions & 0 deletions build_support/catalog/draw_tree_settings.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Default draw_tree settings applied to all catalog games.
defaults:
color_scheme: gambit
font_family: sffamily
font_italic: true
shared_terminal_depth: true
sublevel_scaling: 0

# Per-game overrides. Keys are slug prefixes or exact slugs.
# For a given game, all matching keys are applied shortest-first,
# so more specific entries (longer keys) override more general ones.
# A key matches if slug == key or slug starts with key + "/".
# Consult https://www.gambit-project.org/draw_tree/ for available settings.
overrides:
bagwell1995:
sublevel_scaling: 1
watson2013:
sublevel_scaling: 1
selten1975:
shared_terminal_depth: false
myerson1991/fig2_1:
action_label_position: 0.4
reiley2008/fig1:
action_label_position: 0.4
vonstengel2022/fig10.1:
sublevel_scaling: 0.75
shared_terminal_depth: false
vonstengelforges2008/fig1:
sublevel_scaling: 1
vonstengelforges2008/fig9:
sublevel_scaling: 0.5
gilboa1997/fig1:
action_label_dist: 5.0
Loading
Loading