1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00

Option to play Four Rivers without gravity.

This commit is contained in:
Joe R 2023-08-16 18:42:02 -04:00
parent be47aee6be
commit 867029e24b
2 changed files with 27 additions and 1 deletions

View file

@ -565,7 +565,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, 909))),
('dev', tuple(range(906, 909)) + tuple(range(11017, 11020))),
)
# deprecated - the correct way is to or a GI.GT_XXX flag

View file

@ -529,6 +529,26 @@ class FourRivers_24x12(AbstractShisenGame):
NCARDS = 288
class FourRivers_14x6_NoGravity(AbstractShisenGame):
RowStack_Class = FourRivers_RowStack
L = (14, 6)
NCARDS = 84
GRAVITY = False
class FourRivers_18x8_NoGravity(AbstractShisenGame):
RowStack_Class = FourRivers_RowStack
L = (18, 8)
GRAVITY = False
class FourRivers_24x12_NoGravity(AbstractShisenGame):
RowStack_Class = FourRivers_RowStack
L = (24, 12)
NCARDS = 288
GRAVITY = False
# ************************************************************************
# * register a Shisen-Sho type game
# ************************************************************************
@ -559,5 +579,11 @@ r(11013, NotShisen_24x12, "Not Shisen-Sho 24x12", "notshisensho.html")
r(11014, FourRivers_14x6, "Four Rivers 14x6", "fourrivers.html")
r(11015, FourRivers_18x8, "Four Rivers 18x8", "fourrivers.html")
r(11016, FourRivers_24x12, "Four Rivers 24x12", "fourrivers.html")
r(11017, FourRivers_14x6_NoGravity, "Four Rivers (No Gravity) 14x6",
"fourrivers.html")
r(11018, FourRivers_18x8_NoGravity, "Four Rivers (No Gravity) 18x8",
"fourrivers.html")
r(11019, FourRivers_24x12_NoGravity, "Four Rivers (No Gravity) 24x12",
"fourrivers.html")
del r