diff --git a/html-src/gen-html.py b/html-src/gen-html.py index 6b1f7b2e..420f12a3 100755 --- a/html-src/gen-html.py +++ b/html-src/gen-html.py @@ -74,10 +74,6 @@ rules_files = [ ('freecell.html', 'PySol - Rules for FreeCell'), ('lightsout.html', 'PySol - Rules for Lights Out'), ] -wikipedia_files = [ - ('houseinthewood.html', 'PySol - Rules for House in the Woods'), - ('fourseasons.html', 'PySol - Rules for Four Seasons'), - ] def _fmt(fmt, params): @@ -181,9 +177,6 @@ def gen_rules_html(): for fn, tt in rules_files: rules_list.append(('rules', fn, tt, '')) files_list.append(fn) - for fn, tt in wikipedia_files: - rules_list.append(('wikipedia', fn, tt, '')) - files_list.append(fn) altnames = [] # open file of list of all rules diff --git a/html-src/rules/houseinthewood.html b/html-src/rules/houseinthewood.html new file mode 100644 index 00000000..7f7160c4 --- /dev/null +++ b/html-src/rules/houseinthewood.html @@ -0,0 +1,19 @@ +
+Fan game type. 2 decks. No redeal. + +
+Move all cards to the foundations. + +
+Three cards are dealt to each of 34 tableau piles, +with a 35th having the remaining two cards. Tableau +piles are built up or down by same suit, and only single +cards can be moved between piles. Empty tableau piles +cannot be filled. +
+The foundations are built up by same suit from ace to +king. The game is won if all cards are moved to the +foundations. diff --git a/html-src/rules/houseonthehill.html b/html-src/rules/houseonthehill.html new file mode 100644 index 00000000..5e3f4890 --- /dev/null +++ b/html-src/rules/houseonthehill.html @@ -0,0 +1,13 @@ +
+Fan game type. 2 decks. No redeal. + +
+Move all cards to the foundations. + +
+Like House in the Wood, +but while one foundation of each suit is built up from ace to +king, the other is built down from king to ace. \ No newline at end of file diff --git a/pysollib/games/fan.py b/pysollib/games/fan.py index 27d0c89e..74fcfcf7 100644 --- a/pysollib/games/fan.py +++ b/pysollib/games/fan.py @@ -1066,8 +1066,7 @@ registerGame(GameInfo(340, IntelligencePlus, "Intelligence +", registerGame(GameInfo(268, HouseInTheWood, "House in the Wood", GI.GT_FAN_TYPE | GI.GT_OPEN, 2, 0, GI.SL_MOSTLY_SKILL)) registerGame(GameInfo(317, HouseOnTheHill, "House on the Hill", - GI.GT_FAN_TYPE | GI.GT_OPEN, 2, 0, GI.SL_MOSTLY_SKILL, - rules_filename='houseinthewood.html')) + GI.GT_FAN_TYPE | GI.GT_OPEN, 2, 0, GI.SL_MOSTLY_SKILL)) registerGame(GameInfo(320, CloverLeaf, "Clover Leaf", GI.GT_FAN_TYPE | GI.GT_OPEN, 1, 0, GI.SL_MOSTLY_SKILL)) registerGame(GameInfo(347, FreeFan, "Free Fan",