My ELEC2645 joystick project Tetris Game NAME: JIANWEI CHEN SID: 200879849
Dependencies: N5110 SDFileSystem mbed
Diff: Patterns.cpp
- Revision:
- 1:2a758565f691
- Parent:
- 0:12a1972fa0d0
diff -r 12a1972fa0d0 -r 2a758565f691 Patterns.cpp --- a/Patterns.cpp Sun Apr 17 12:13:34 2016 +0000 +++ b/Patterns.cpp Mon Apr 25 11:01:19 2016 +0000 @@ -1,6 +1,14 @@ #include "Patterns.h" + // type rotation y x -int pattern[7][4][6][6] = { +int pattern[7][4][6][6] = { + //type 0: L + //type 1: L mirrored + //type 2: I + //type 3: T + //type 4: square + //type 5: N + //type 6: N mirrored { //L {