| 1 |
How to write a new game for Aisleriot |
| 2 |
===================================== |
| 3 |
|
| 4 |
For an introduction on how to write the scheme code for a new game see the |
| 5 |
Rules.HOWTO and template.scm files. |
| 6 |
|
| 7 |
|
| 8 |
How to add a new game to Aisleriot |
| 9 |
================================== |
| 10 |
|
| 11 |
* Move foo.scm file into games/ and git add it |
| 12 |
* Add foo.scm to the list in games/meson.build, keeping the list |
| 13 |
sorted alphabetically |
| 14 |
* Add games/foo.scm to po/POTFILES.in |
| 15 |
* Move the documentation foo.xml file into help/C/ and git add it |
| 16 |
* Add foo.xml to help_pages in help/meson.build, keeping the list |
| 17 |
sorted alphabetically |
| 18 |
* Edit help/C/index.docbook to include the new game's documentation |
| 19 |
by adding |
| 20 |
|
| 21 |
<xi:include href="foo.xml" /> |
| 22 |
|
| 23 |
in the list of games. Make sure to keep the list sorted alphabetically! |
| 24 |
* Run the src/get_titles.pl script |
| 25 |
* Add foo to the list of games in the man page in help/sol.6 |
| 26 |
* git commit help/C/foo.xml help/C/index.docbook help/meson.build games/foo.scm \ |
| 27 |
games/meson.build src/game-names.h po/POTFILES.in help/sol.6 |
| 28 |
|
| 29 |
Done! |