summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/tetromino.h92
1 files changed, 46 insertions, 46 deletions
diff --git a/inc/tetromino.h b/inc/tetromino.h
index 45c335b..30d55a3 100644
--- a/inc/tetromino.h
+++ b/inc/tetromino.h
@@ -29,8 +29,8 @@ struct Tetromino tetrominos[7] = {
.directions = {
[NORTH] = {
{0, 0, 0, 0},
- {1, 1, 1, 1},
{0, 0, 0, 0},
+ {1, 1, 1, 1},
{0, 0, 0, 0}
},
@@ -42,8 +42,8 @@ struct Tetromino tetrominos[7] = {
},
[SOUTH] = {
{0, 0, 0, 0},
- {0, 0, 0, 0},
{1, 1, 1, 1},
+ {0, 0, 0, 0},
{0, 0, 0, 0}
},
[WEST] = {
@@ -59,24 +59,24 @@ struct Tetromino tetrominos[7] = {
.color = BLUE,
.directions = {
[NORTH] = {
- {1, 0, 0},
+ {0, 0, 0},
{1, 1, 1},
- {0, 0, 0}
+ {1, 0, 0}
},
[EAST] = {
- {0, 1, 1},
{0, 1, 0},
- {0, 1, 0}
+ {0, 1, 0},
+ {0, 1, 1}
},
[SOUTH] = {
- {0, 0, 0},
+ {0, 0, 1},
{1, 1, 1},
- {0, 0, 1}
+ {0, 0, 0}
},
[WEST] = {
+ {1, 1, 0},
{0, 1, 0},
- {0, 1, 0},
- {1, 1, 0}
+ {0, 1, 0}
}
}
},
@@ -85,24 +85,24 @@ struct Tetromino tetrominos[7] = {
.color = ORANGE,
.directions = {
[NORTH] = {
- {0, 0, 1},
+ {0, 0, 0},
{1, 1, 1},
- {0, 0, 0}
+ {0, 0, 1}
},
[EAST] = {
+ {0, 1, 1},
{0, 1, 0},
- {0, 1, 0},
- {0, 1, 1}
+ {0, 1, 0}
},
[SOUTH] = {
- {0, 0, 0},
+ {1, 0, 0},
{1, 1, 1},
- {1, 0, 0}
+ {0, 0, 0}
},
[WEST] = {
- {1, 1, 0},
{0, 1, 0},
- {0, 1, 0}
+ {0, 1, 0},
+ {1, 1, 0}
}
}
},
@@ -111,24 +111,24 @@ struct Tetromino tetrominos[7] = {
.color = YELLOW,
.directions = {
[NORTH] = {
+ {0, 0, 0},
{0, 1, 1},
- {0, 1, 1},
- {0, 0, 0}
+ {0, 1, 1}
},
[EAST] = {
+ {0, 0, 0},
{0, 1, 1},
- {0, 1, 1},
- {0, 0, 0}
+ {0, 1, 1}
},
[SOUTH] = {
+ {0, 0, 0},
{0, 1, 1},
- {0, 1, 1},
- {0, 0, 0}
+ {0, 1, 1}
},
[WEST] = {
+ {0, 0, 0},
{0, 1, 1},
- {0, 1, 1},
- {0, 0, 0}
+ {0, 1, 1}
}
}
},
@@ -137,24 +137,24 @@ struct Tetromino tetrominos[7] = {
.color = GREEN,
.directions = {
[NORTH] = {
- {0, 1, 1},
+ {0, 0, 0},
{1, 1, 0},
- {0, 0, 0}
+ {0, 1, 1}
},
[EAST] = {
- {0, 1, 0},
+ {0, 0, 1},
{0, 1, 1},
- {0, 0, 1}
+ {0, 1, 0}
},
[SOUTH] = {
- {0, 0, 0},
+ {1, 1, 0},
{0, 1, 1},
- {1, 1, 0}
+ {0, 0, 0}
},
[WEST] = {
- {1, 0, 0},
+ {0, 1, 0},
{1, 1, 0},
- {0, 1, 0}
+ {1, 0, 0}
}
}
},
@@ -163,9 +163,9 @@ struct Tetromino tetrominos[7] = {
.color = PURPLE,
.directions = {
[NORTH] = {
- {0, 1, 0},
+ {0, 0, 0},
{1, 1, 1},
- {0, 0, 0}
+ {0, 1, 0}
},
[EAST] = {
{0, 1, 0},
@@ -173,9 +173,9 @@ struct Tetromino tetrominos[7] = {
{0, 1, 0}
},
[SOUTH] = {
- {0, 0, 0},
+ {0, 1, 0},
{1, 1, 1},
- {0, 1, 0}
+ {0, 0, 0}
},
[WEST] = {
{0, 1, 0},
@@ -189,24 +189,24 @@ struct Tetromino tetrominos[7] = {
.color = RED,
.directions = {
[NORTH] = {
- {1, 1, 0},
+ {0, 0, 0},
{0, 1, 1},
- {0, 0, 0}
+ {1, 1, 0}
},
[EAST] = {
- {0, 0, 1},
+ {0, 1, 0},
{0, 1, 1},
- {0, 1, 0}
+ {0, 0, 1}
},
[SOUTH] = {
- {0, 0, 0},
+ {0, 1, 1},
{1, 1, 0},
- {0, 1, 1}
+ {0, 0, 0}
},
[WEST] = {
- {0, 1, 0},
+ {1, 0, 0},
{1, 1, 0},
- {1, 0, 0}
+ {0, 1, 0}
}
}
}