You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/developer.catalog.rst
-15Lines changed: 0 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,18 +58,3 @@ Currently supported representations are:
58
58
.. warning::
59
59
60
60
Make sure you commit all changed files e.g. run ``git add --all`` before committing and pushing.
61
-
62
-
Code new games & add game families
63
-
----------------------------------
64
-
65
-
1. **Add the game code:**
66
-
67
-
Open `catalog/__init__.py` and create a new function, or modify an existing one. Ensure your function returns a ``Game`` object.
68
-
You may wish to vary the game title and/or description based on the chosen parameters.
69
-
70
-
2. **Update the catalog:**
71
-
72
-
Update the dictionary returned by ``family_games()`` in `catalog/__init__.py` with all variants of your game(s) you want in the catalog.
73
-
Ensure each entry has unique game slug as key (this will be used by ``pygambit.catalog.load('slug')``), and returns a call of the function with specific parameters.
74
-
75
-
3. **Submit a pull request to GitHub with all changes.**
0 commit comments