Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: Tetromino.cpp
- Revision:
- 2:55092965eadd
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Tetromino.cpp Sat May 23 13:59:06 2020 +0000
@@ -0,0 +1,40 @@
+#include "Tetromino.h"
+
+Tetromino::Tetromino()
+
+
+
+const int ISprite[4][4] = {
+ {0,0,1,0,},
+ {0,0,1,0,},
+ {0,0,1,0,},
+ {0,0,1,0,},
+};
+
+const int LSprite[4][4] = {
+ {0,1,0,0,},
+ {0,1,0,0,},
+ {0,1,1,0,},
+ {0,0,0,0,},
+};
+
+const int ZSprite[4][4] = {
+ {0,1,0,0,},
+ {0,1,1,0,},
+ {0,0,1,0,},
+ {0,0,0,0,},
+};
+
+const int OSprite[4][4] = {
+ {0,0,0,0,},
+ {0,1,1,0,},
+ {0,1,1,0,},
+ {0,0,0,0,},
+};
+
+const int TSprite[4][4] = {
+ {0,1,0,0,},
+ {0,1,1,0,},
+ {0,1,0,0,},
+ {0,0,0,0,},
+};