mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
Add the Freecell w Zero Reserves preset.
It is useful to me, and the wizard-based games do not support the solver well.
This commit is contained in:
parent
39cd81d663
commit
dd675e30b5
1 changed files with 7 additions and 0 deletions
|
@ -644,12 +644,19 @@ class PairFcFreeCell(FreeCell):
|
||||||
FreeCell.createGame(self, reserves=2)
|
FreeCell.createGame(self, reserves=2)
|
||||||
|
|
||||||
|
|
||||||
|
class ZeroFcFreeCell(FreeCell):
|
||||||
|
def createGame(self):
|
||||||
|
FreeCell.createGame(self, reserves=0)
|
||||||
|
|
||||||
|
|
||||||
# register the game
|
# register the game
|
||||||
registerGame(GameInfo(5, RelaxedFreeCell, "Relaxed FreeCell",
|
registerGame(GameInfo(5, RelaxedFreeCell, "Relaxed FreeCell",
|
||||||
GI.GT_FREECELL | GI.GT_RELAXED | GI.GT_OPEN, 1, 0,
|
GI.GT_FREECELL | GI.GT_RELAXED | GI.GT_OPEN, 1, 0,
|
||||||
GI.SL_SKILL))
|
GI.SL_SKILL))
|
||||||
registerGame(GameInfo(8, FreeCell, "FreeCell",
|
registerGame(GameInfo(8, FreeCell, "FreeCell",
|
||||||
GI.GT_FREECELL | GI.GT_OPEN, 1, 0, GI.SL_SKILL))
|
GI.GT_FREECELL | GI.GT_OPEN, 1, 0, GI.SL_SKILL))
|
||||||
|
registerGame(GameInfo(1901, ZeroFcFreeCell, "FreeCell with Zero Reserves",
|
||||||
|
GI.GT_FREECELL | GI.GT_OPEN, 1, 0, GI.SL_SKILL))
|
||||||
registerGame(GameInfo(1900, PairFcFreeCell, "FreeCell with Two Reserves",
|
registerGame(GameInfo(1900, PairFcFreeCell, "FreeCell with Two Reserves",
|
||||||
GI.GT_FREECELL | GI.GT_OPEN, 1, 0, GI.SL_SKILL))
|
GI.GT_FREECELL | GI.GT_OPEN, 1, 0, GI.SL_SKILL))
|
||||||
registerGame(GameInfo(46, ForeCell, "ForeCell",
|
registerGame(GameInfo(46, ForeCell, "ForeCell",
|
||||||
|
|
Loading…
Add table
Reference in a new issue