Skip to content

Commit

Permalink
Alignment of Interlock type game foundations.
Browse files Browse the repository at this point in the history
  • Loading branch information
joeraz committed Feb 18, 2024
1 parent 4eebd5d commit 3547c5a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pysollib/games/interlock.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,9 @@ def createGame(self):
x += lay.XS
s.waste = WasteStack(x, y, self)
lay.createText(s.waste, "s")
x += lay.XS * max(1, (self.MAX_ROWS - 6) // 2)
x = lay.XM + lay.XS * (max(self.MAX_ROWS, 7) - 5)
else:
x += lay.XS * max(1.0, (self.MAX_ROWS - 6) / 2)
for i in range(4):
x += lay.XS
s.foundations.append(SS_FoundationStack(x, y, self, i,
Expand Down

0 comments on commit 3547c5a

Please sign in to comment.