mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
Added hexagonal pegged layout.
This commit is contained in:
parent
f6b5672cf6
commit
725ee0dcaa
2 changed files with 7 additions and 1 deletions
|
@ -593,7 +593,7 @@ class GI:
|
|||
('fc-2.20', tuple(range(855, 897))),
|
||||
('fc-2.21', tuple(range(897, 900)) + tuple(range(11014, 11017)) +
|
||||
tuple(range(13160, 13163)) + (16682,)),
|
||||
('dev', tuple(range(906, 945)) + tuple(range(11017, 11020)) +
|
||||
('dev', tuple(range(906, 946)) + tuple(range(11017, 11020)) +
|
||||
tuple(range(5600, 5624)) + tuple(range(18000, 18005)) +
|
||||
tuple(range(22303, 22311)) + tuple(range(22353, 22361))),
|
||||
)
|
||||
|
|
|
@ -290,6 +290,11 @@ class PeggedStar(PeggedTriangle1):
|
|||
ROWS = (1, 4, 3, 4, 1)
|
||||
|
||||
|
||||
class PeggedHexagon(PeggedTriangle1):
|
||||
EMPTY_STACK_ID = 30
|
||||
ROWS = (5, 6, 7, 8, 9, 8, 7, 6, 5)
|
||||
|
||||
|
||||
# ************************************************************************
|
||||
# * register the games
|
||||
# ************************************************************************
|
||||
|
@ -317,4 +322,5 @@ r(210, PeggedTriangle1, "Pegged Triangle 1")
|
|||
r(211, PeggedTriangle2, "Pegged Triangle 2")
|
||||
r(839, PeggedDiamond, "Pegged Diamond")
|
||||
r(840, PeggedStar, "Pegged Star")
|
||||
r(945, PeggedHexagon, "Pegged Hexagon")
|
||||
del r
|
||||
|
|
Loading…
Add table
Reference in a new issue