Browse files

fixed the Tiles data structure so that it compiles

  • Loading branch information...
1 parent ca06d82 commit 03769b7b3e8b4450816f72c5bcf404895d9b2cf3 @andrewrk andrewrk committed Jun 2, 2011
Showing with 84 additions and 76 deletions.
  1. +84 −76 blokus.go
View
160 blokus.go
@@ -10,84 +10,92 @@ const (
Green
)
-var Tiles = [][][]bool{
- {{true}},
+var Tiles = [][][]bool {
+ [][]bool{
+ []bool{true},
+ },
+ [][]bool{
+ []bool{true, 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},
+ [][]bool{
+ []bool{true, true, true},
+ },
+ [][]bool{
+ []bool{true, true},
+ []bool{true, false},
+ },
+ [][]bool{
+ []bool{true, true, true, true},
+ },
+ [][]bool{
+ []bool{true, true, true},
+ []bool{true, false, false},
+ },
+ [][]bool{
+ []bool{true, true, true},
+ []bool{false, true, false},
+ },
+ [][]bool{
+ []bool{true, true, false},
+ []bool{false, true, true},
+ },
+ [][]bool{
+ []bool{true, true},
+ []bool{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},
+ [][]bool{
+ []bool{true, true, true, true, true},
+ },
+ [][]bool{
+ []bool{true, true, true, true},
+ []bool{true, false, false, false},
+ },
+ [][]bool{
+ []bool{true, true, true, true},
+ []bool{false, true, false, false},
+ },
+ [][]bool{
+ []bool{true, true, true, false},
+ []bool{false, false, true, true},
+ },
+ [][]bool{
+ []bool{true, true, true},
+ []bool{true, true, false},
+ },
+ [][]bool{
+ []bool{true, true, true},
+ []bool{true, false, true},
+ },
+ [][]bool{
+ []bool{true, true, true},
+ []bool{true, false, false},
+ []bool{true, false, false},
+ },
+ [][]bool{
+ []bool{true, true, true},
+ []bool{false, true, false},
+ []bool{false, true, false},
+ },
+ [][]bool{
+ []bool{true, true, false},
+ []bool{false, true, true},
+ []bool{false, true, false},
+ },
+ [][]bool{
+ []bool{true, true, false},
+ []bool{false, true, true},
+ []bool{false, false, true},
+ },
+ [][]bool{
+ []bool{true, true, false},
+ []bool{false, true, false},
+ []bool{false, true, true},
+ },
+ [][]bool{
+ []bool{false, true, false},
+ []bool{true, true, true},
+ []bool{false, true, false},
},
}

0 comments on commit 03769b7

Please sign in to comment.