mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
Alignment of Interlock type game foundations.
This commit is contained in:
parent
4eebd5d33c
commit
3547c5ad0a
1 changed files with 3 additions and 1 deletions
|
@ -130,7 +130,9 @@ class Interlock(Game):
|
|||
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,
|
||||
|
|
Loading…
Add table
Reference in a new issue