From 48f8a7098926f4044e3f91175b7dd5c15b205b54 Mon Sep 17 00:00:00 2001 From: Joe R Date: Sun, 5 Nov 2023 14:56:22 -0500 Subject: [PATCH] Three and four deck Picture Gallery variants. --- html-src/rules/bigpicturegallery.html | 12 ++++++++++++ html-src/rules/hugepicturegallery.html | 12 ++++++++++++ pysollib/gamedb.py | 2 +- pysollib/games/picturegallery.py | 16 ++++++++++++++++ 4 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 html-src/rules/bigpicturegallery.html create mode 100644 html-src/rules/hugepicturegallery.html diff --git a/html-src/rules/bigpicturegallery.html b/html-src/rules/bigpicturegallery.html new file mode 100644 index 00000000..daea09dd --- /dev/null +++ b/html-src/rules/bigpicturegallery.html @@ -0,0 +1,12 @@ +

Big Picture Gallery

+

+Three-Deck game type. 3 decks. No redeal. + +

Object

+

+Fill all of the foundations. + +

Quick Description

+

+Like Picture Gallery, +but with three decks and twelve piles per row. diff --git a/html-src/rules/hugepicturegallery.html b/html-src/rules/hugepicturegallery.html new file mode 100644 index 00000000..ee1ffccb --- /dev/null +++ b/html-src/rules/hugepicturegallery.html @@ -0,0 +1,12 @@ +

Huge Picture Gallery

+

+Four-Deck game type. 4 decks. No redeal. + +

Object

+

+Fill all of the foundations. + +

Quick Description

+

+Like Picture Gallery, +but with four decks and sixteen piles per row. diff --git a/pysollib/gamedb.py b/pysollib/gamedb.py index 991d5592..f486bf6a 100644 --- a/pysollib/gamedb.py +++ b/pysollib/gamedb.py @@ -580,7 +580,7 @@ class GI: ('fc-2.20', tuple(range(855, 897))), ('fc-2.21', tuple(range(897, 900)) + tuple(range(11014, 11017)) + tuple(range(13160, 13163)) + (16682,)), - ('dev', tuple(range(906, 927)) + tuple(range(11017, 11020)) + + ('dev', tuple(range(906, 929)) + tuple(range(11017, 11020)) + tuple(range(18000, 18004)) + tuple(range(22303, 22311)) + tuple(range(22353, 22361))), ) diff --git a/pysollib/games/picturegallery.py b/pysollib/games/picturegallery.py index 0be3712b..2fe9bda1 100644 --- a/pysollib/games/picturegallery.py +++ b/pysollib/games/picturegallery.py @@ -285,6 +285,18 @@ class PictureGallery(Game): return () +class BigPictureGallery(PictureGallery): + + def createGame(self): + PictureGallery.createGame(self, numstacks=12) + + +class HugePictureGallery(PictureGallery): + + def createGame(self): + PictureGallery.createGame(self, numstacks=16) + + # ************************************************************************ # * Great Wheel # * Greater Wheel @@ -610,3 +622,7 @@ registerGame(GameInfo(803, BigParade, "Big Parade", GI.GT_3DECK_TYPE, 3, 0, GI.SL_MOSTLY_SKILL)) registerGame(GameInfo(804, ThreeUp, "Three Up", GI.GT_3DECK_TYPE, 3, 0, GI.SL_MOSTLY_SKILL)) +registerGame(GameInfo(927, BigPictureGallery, "Big Picture Gallery", + GI.GT_3DECK_TYPE, 3, 0, GI.SL_BALANCED)) +registerGame(GameInfo(928, HugePictureGallery, "Huge Picture Gallery", + GI.GT_4DECK_TYPE, 4, 0, GI.SL_BALANCED))