Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
96 lines (79 sloc) 2.09 KB
# http://www.playadrift.com/
Sym { R B X }
Board {
.... z00;
... z10 z01;
. z20 z11 z02;
... z21 z12;
.... z22;
x00 x01 x02 . y00 y01 y02;
x10 x11 x12 . y10 y11 y12;
x20 x21 x22 . y20 y21 y22;
}
Req Board {
R;
? X;
B ? X;
? ?;
?;
X ? ? X ? X;
X ? ? X ? X;
B ? ? X ? R;
}
# each color must be surrounded by exactly two of its color, unless
# it is on an end, in which case it is surrounded by exactly one of its color
# middle block followed by sides
Opt link2 { v v v }
Opt link3 { v !v v v }
Opt link3 { v v !v v }
Opt link3 { v v v !v }
Opt link4 { v v v !v !v }
Opt link4 { v v !v v !v }
Opt link4 { v v !v !v v }
Opt link4 { v !v v v !v }
Opt link4 { v !v v !v v }
Opt link4 { v !v !v v v }
# ends have exactly one connector
Opt end2 { v v !v }
Opt end2 { v !v v }
Opt end3 { v v !v !v }
Opt end3 { v !v v !v }
Opt end3 { v !v !v v }
Opt end4 { v v !v !v !v }
Opt end4 { v !v v !v !v }
Opt end4 { v !v !v v !v }
Opt end4 { v !v !v !v v }
# these are used if we didn't know where the Xs are
Opt link2 { X ? ? }
Opt link3 { X ? ? ? }
Opt link4 { X ? ? ? ? }
# all links
DesObj link3 { z10 z00 z11 z20 }
DesObj link4 { z11 z10 z01 z12 z21 }
DesObj link4 { z21 z20 z11 z22 x01 }
DesObj link4 { z12 z22 z11 z02 y01 }
DesObj link4 { z22 z21 z12 y00 x02 }
DesObj link4 { x02 z22 y00 x12 x01 }
DesObj link4 { x12 x02 y10 x22 x11 }
DesObj link3 { x21 x11 x22 x20 }
DesObj link3 { x22 x12 y20 x21 }
DesObj link4 { y01 z12 y02 y11 y00 }
DesObj link4 { y11 y01 y12 y21 y10 }
DesObj link3 { y21 y11 y22 y20 }
# end points
DesObj end2 { z00 z10 z01 }
DesObj end3 { z20 z10 z21 x00 }
DesObj end2 { x20 x10 x21 }
DesObj end2 { y22 y12 y21 }
# all Xs
DesObj link3 { z01 z00 z11 z02 }
DesObj link3 { z02 z01 z12 y02 }
DesObj link3 { x00 z20 x01 x10 }
DesObj link4 { x01 z21 x02 x11 x00 }
DesObj link3 { x10 x00 x11 x20 }
DesObj link4 { x11 x01 x12 x21 x10 }
DesObj link4 { y00 z22 y01 y10 x02 }
DesObj link3 { y02 z02 y12 y01 }
DesObj link4 { y10 y00 y11 y20 x12 }
DesObj link3 { y12 y02 y22 y11 }
DesObj link3 { y20 y10 y21 x22 }
You can’t perform that action at this time.