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

Some cleanup of Tarock game file.

This commit is contained in:
Joe R 2024-03-19 21:44:29 -04:00
parent 6375d53902
commit c1421fc92f

View file

@ -34,7 +34,7 @@ from pysollib.stack import \
ReserveStack, \ ReserveStack, \
SS_FoundationStack, \ SS_FoundationStack, \
StackWrapper StackWrapper
from pysollib.util import ACE, ANY_RANK, NO_RANK,\ from pysollib.util import ACE, ANY_RANK, NO_RANK, \
UNLIMITED_ACCEPTS, UNLIMITED_MOVES UNLIMITED_ACCEPTS, UNLIMITED_MOVES
@ -130,7 +130,8 @@ class Tarock_AC_RowStack(Tarock_OpenStack):
self.isAlternateColorSequence(cards)) self.isAlternateColorSequence(cards))
# ************************************************************************ # ************************************************************************
# * # * Cockroach
# * Double Cockroach
# ************************************************************************ # ************************************************************************
@ -142,7 +143,7 @@ class DoubleCockroach(Grasshopper):
MAX_ROUNDS = 1 MAX_ROUNDS = 1
# ************************************************************************ # ************************************************************************
# * # * Corkscrew
# ************************************************************************ # ************************************************************************
@ -236,7 +237,7 @@ class Corkscrew(AbstractTarockGame):
return (sequence([card1, card2]) or sequence([card2, card1])) return (sequence([card1, card2]) or sequence([card2, card1]))
# ************************************************************************ # ************************************************************************
# * # * Serpent
# ************************************************************************ # ************************************************************************
@ -249,7 +250,7 @@ class Serpent(Corkscrew):
return (sequence([card1, card2]) or sequence([card2, card1])) return (sequence([card1, card2]) or sequence([card2, card1]))
# ************************************************************************ # ************************************************************************
# * # * Rambling
# ************************************************************************ # ************************************************************************