Skip to content
Browse files

adding turn order and shapes as static data

  • Loading branch information...
1 parent f127d70 commit ca06d8235404baf695f6ab275ef4ac77eed37675 @thejoshwolfe committed Jun 1, 2011
Showing with 93 additions and 0 deletions.
  1. +93 −0 blokus.go
View
93 blokus.go
@@ -0,0 +1,93 @@
+package main
+
+const BoardSize = 20
+
+// order of players
+const (
+ Blue = 0
+ Yellow
+ Red
+ Green
+)
+
+var Tiles = [][][]bool{
+ {{true}},
+
+ {{true, true}},
+
+ {{true, true, true}},
+ {
+ {true, true},
+ {true, false},
+ },
+
+ {{true, true, true, true}},
+ {
+ {true, true, true},
+ {true, false, false},
+ },
+ {
+ {true, true, true},
+ {false, true, false},
+ },
+ {
+ {true, true, false},
+ {false, true, true},
+ },
+ {
+ {true, true},
+ {true, true},
+ },
+
+ {{true, true, true, true, true}},
+ {
+ {true, true, true, true},
+ {true, false, false, false},
+ },
+ {
+ {true, true, true, true},
+ {false, true, false, false},
+ },
+ {
+ {true, true, true, false},
+ {false, false, true, true},
+ },
+ {
+ {true, true, true},
+ {true, true, false},
+ },
+ {
+ {true, true, true},
+ {true, false, true},
+ },
+ {
+ {true, true, true},
+ {true, false, false},
+ {true, false, false},
+ },
+ {
+ {true, true, true},
+ {false, true, false},
+ {false, true, false},
+ },
+ {
+ {true, true, false},
+ {false, true, true},
+ {false, true, false},
+ },
+ {
+ {true, true, false},
+ {false, true, true},
+ {false, false, true},
+ },
+ {
+ {true, true, false},
+ {false, true, false},
+ {false, true, true},
+ },
+ {
+ {false, true, false},
+ {true, true, true},
+ {false, true, false},
+ },
+}

0 comments on commit ca06d82

Please sign in to comment.
Something went wrong with that request. Please try again.