Skip to content

Commit

Permalink
Updated a couple games to use their more common name as the primary n…
Browse files Browse the repository at this point in the history
…ame.
  • Loading branch information
joeraz committed Feb 23, 2024
1 parent fe5013b commit 6f7c243
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 21 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<h1>Moonlight</h1>
<h1>Free Parking</h1>
<p>
Montana type. 1 deck. 2 redeals.

Expand Down
24 changes: 12 additions & 12 deletions html-src/rules/fastness.html → html-src/rules/privatelane.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<h1>Fastness</h1>
<p>
Beleaguered Castle type. 1 deck. No redeal.

<h3>Object</h3>
<p>
Move all cards to the foundations.

<h3>Quick Description</h3>
<p>
Like <a href="streetsandalleys.html">Streets and Alleys</a>,
but with two free cells.
<h1>Private Lane</h1>
<p>
Beleaguered Castle type. 1 deck. No redeal.

<h3>Object</h3>
<p>
Move all cards to the foundations.

<h3>Quick Description</h3>
<p>
Like <a href="streetsandalleys.html">Streets and Alleys</a>,
but with two free cells.
8 changes: 4 additions & 4 deletions pysollib/games/beleagueredcastle.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ class Lasker(Chessboard):
# ************************************************************************
# * Siegecraft
# * Stronghold
# * Fastness
# * Private Lane
# ************************************************************************

class Siegecraft(BeleagueredCastle):
Expand All @@ -453,7 +453,7 @@ def createGame(self):
StreetsAndAlleys.createGame(self, reserves=1)


class Fastness(StreetsAndAlleys):
class PrivateLane(StreetsAndAlleys):
Hint_Class = FreeCellType_Hint
Solver_Class = FreeCellSolverWrapper(sbb='rank')

Expand Down Expand Up @@ -895,9 +895,9 @@ class PenelopesWeb(StreetsAndAlleys):
registerGame(GameInfo(300, Stronghold, "Stronghold",
GI.GT_BELEAGUERED_CASTLE | GI.GT_OPEN, 1, 0,
GI.SL_MOSTLY_SKILL))
registerGame(GameInfo(301, Fastness, "Fastness",
registerGame(GameInfo(301, PrivateLane, "Private Lane",
GI.GT_BELEAGUERED_CASTLE | GI.GT_OPEN, 1, 0,
GI.SL_MOSTLY_SKILL, altnames=('Private Lane',)))
GI.SL_MOSTLY_SKILL, altnames=('Fastness',)))
registerGame(GameInfo(306, Zerline, "Zerline",
GI.GT_BELEAGUERED_CASTLE, 2, 0, GI.SL_MOSTLY_SKILL))
registerGame(GameInfo(324, Bastion, "Bastion",
Expand Down
9 changes: 5 additions & 4 deletions pysollib/games/montana.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,10 +371,10 @@ class Galary(RedMoon):


# ************************************************************************
# * Moonlight
# * Free Parking
# ************************************************************************

class Moonlight(Montana):
class FreeParking(Montana):
RowStack_Class = Galary_RowStack
Hint_Class = Galary_Hint

Expand Down Expand Up @@ -682,9 +682,10 @@ def createGame(self):
registerGame(GameInfo(275, Galary, "Galary",
GI.GT_MONTANA | GI.GT_OPEN | GI.GT_ORIGINAL, 1, 2,
GI.SL_MOSTLY_SKILL))
registerGame(GameInfo(276, Moonlight, "Moonlight",
registerGame(GameInfo(276, FreeParking, "Free Parking",
GI.GT_MONTANA | GI.GT_OPEN, 1, 2, GI.SL_MOSTLY_SKILL,
si={"ncards": 48}, altnames="Free Parking"))
si={"ncards": 48}, altnames=("Moonlight",
"Park and Ride")))
registerGame(GameInfo(380, Jungle, "Jungle",
GI.GT_MONTANA | GI.GT_OPEN, 1, 1, GI.SL_MOSTLY_SKILL))
registerGame(GameInfo(381, SpacesAndAces, "Spaces and Aces",
Expand Down

0 comments on commit 6f7c243

Please sign in to comment.