/* tripuzzle2.dat */
n = 4;
color = 6;
left = [2,2,3,2];
right = [6,3,1,3];
base = [5,2,1,4];
// color code: 1 - red, 2 - green, 3 - white, 4 - blue, 5 - black, 6 - yellow
// each row describes a triangle in each of three possible orientations
piece_col = [ [[1,2,3],[3,1,2],[2,3,1]],
[[1,2,5],[5,1,2],[2,5,1]],
[[1,2,6],[6,1,2],[2,6,1]],
[[1,3,6],[6,1,3],[3,6,1]],
[[1,5,2],[2,1,5],[5,2,1]],
[[1,5,2],[2,1,5],[5,2,1]],
[[2,4,6],[6,2,4],[4,6,2]],
[[2,5,5],[5,2,5],[5,5,2]],
[[2,5,6],[6,2,5],[5,6,2]],
[[2,6,3],[3,2,6],[6,3,2]],
[[2,6,3],[3,2,6],[6,3,2]],
[[3,3,4],[4,3,3],[3,4,3]],
[[3,4,4],[4,3,4],[4,4,3]],
[[3,4,5],[5,3,4],[4,5,3]],
[[3,4,5],[5,3,4],[4,5,3]],
[[4,6,5],[5,4,6],[6,5,4]]];
|