{ "license": "GPL-3.0-or-later", "source_revision": "be8769a403e506edb930372f963a9c4c83a0881e", "source": "src/game.vala BLOCK_TABLE", "coordinates": "4 rows top to bottom, columns left to right; # occupied; mask bit 15 is top left", "counterclockwise_state_delta": 1, "clockwise_state_delta": -1, "pieces": [ { "type": 0, "name": "L", "color": "red", "rotations": [ { "state": 0, "rows": [ "..#.", "###.", "....", "...." ], "mask_hex": "2E00" }, { "state": 1, "rows": [ "##..", ".#..", ".#..", "...." ], "mask_hex": "C440" }, { "state": 2, "rows": [ "....", "###.", "#...", "...." ], "mask_hex": "0E80" }, { "state": 3, "rows": [ ".#..", ".#..", ".##.", "...." ], "mask_hex": "4460" } ] }, { "type": 1, "name": "J", "color": "green", "rotations": [ { "state": 0, "rows": [ "#...", "###.", "....", "...." ], "mask_hex": "8E00" }, { "state": 1, "rows": [ ".#..", ".#..", "##..", "...." ], "mask_hex": "44C0" }, { "state": 2, "rows": [ "....", "###.", "..#.", "...." ], "mask_hex": "0E20" }, { "state": 3, "rows": [ ".##.", ".#..", ".#..", "...." ], "mask_hex": "6440" } ] }, { "type": 2, "name": "T", "color": "blue", "rotations": [ { "state": 0, "rows": [ ".#..", "###.", "....", "...." ], "mask_hex": "4E00" }, { "state": 1, "rows": [ ".#..", "##..", ".#..", "...." ], "mask_hex": "4C40" }, { "state": 2, "rows": [ "....", "###.", ".#..", "...." ], "mask_hex": "0E40" }, { "state": 3, "rows": [ ".#..", ".##.", ".#..", "...." ], "mask_hex": "4640" } ] }, { "type": 3, "name": "S", "color": "light gray", "rotations": [ { "state": 0, "rows": [ "....", ".##.", "##..", "...." ], "mask_hex": "06C0" }, { "state": 1, "rows": [ ".#..", ".##.", "..#.", "...." ], "mask_hex": "4620" }, { "state": 2, "rows": [ "....", ".##.", "##..", "...." ], "mask_hex": "06C0" }, { "state": 3, "rows": [ ".#..", ".##.", "..#.", "...." ], "mask_hex": "4620" } ] }, { "type": 4, "name": "Z", "color": "yellow", "rotations": [ { "state": 0, "rows": [ "....", "##..", ".##.", "...." ], "mask_hex": "0C60" }, { "state": 1, "rows": [ "..#.", ".##.", ".#..", "...." ], "mask_hex": "2640" }, { "state": 2, "rows": [ "....", "##..", ".##.", "...." ], "mask_hex": "0C60" }, { "state": 3, "rows": [ "..#.", ".##.", ".#..", "...." ], "mask_hex": "2640" } ] }, { "type": 5, "name": "I", "color": "purple", "rotations": [ { "state": 0, "rows": [ "....", "####", "....", "...." ], "mask_hex": "0F00" }, { "state": 1, "rows": [ ".#..", ".#..", ".#..", ".#.." ], "mask_hex": "4444" }, { "state": 2, "rows": [ "....", "####", "....", "...." ], "mask_hex": "0F00" }, { "state": 3, "rows": [ ".#..", ".#..", ".#..", ".#.." ], "mask_hex": "4444" } ] }, { "type": 6, "name": "O", "color": "orange", "rotations": [ { "state": 0, "rows": [ "....", ".##.", ".##.", "...." ], "mask_hex": "0660" }, { "state": 1, "rows": [ "....", ".##.", ".##.", "...." ], "mask_hex": "0660" }, { "state": 2, "rows": [ "....", ".##.", ".##.", "...." ], "mask_hex": "0660" }, { "state": 3, "rows": [ "....", ".##.", ".##.", "...." ], "mask_hex": "0660" } ] } ] }