-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshapes.py
62 lines (58 loc) · 1.79 KB
/
shapes.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
shape_index = [ # #
[ # ## ## ###
# t-block ### # # #
[ [0,32,64,32],[-32,-32,-32,0] ],
[ [32,32,64,32],[-64,-32,-32,0] ],
[ [32,0,32,64],[-32,0,0,0] ],
[ [64,32,64,64],[-64,-32,-32,0] ]
],
[
##
# square piece ##
[ [0,0,32,32],[0,-32,-32,0] ],
[ [0,0,32,32],[0,-32,-32,0] ],
[ [0,0,32,32],[0,-32,-32,0] ],
[ [0,0,32,32],[0,-32,-32,0] ],
],
# ## ### #
# rev- lblock ### # # #
[ # ##
[ [0,32,64,0],[-32,-32,-32,0] ],
[ [32,32,32,64],[-64,-32,0,0] ],
[ [64,0,32,64],[-32,0,0,0] ],
[ [0,32,32,32],[-64,-64,-32,0] ]
],
# # ### ##
#l block ### # # #
[ ## #
[ [0,32,64,64],[-32,-32,-32,0] ],
[ [32,64,32,32],[-64,-64,-32,0] ],
[ [0,0,32,64],[-32,0,0,0] ],
[ [32,32,0,32],[-64,-32,0,0] ]
],
#
#rev zpiece ## ##
[ ## #
[ [0,32,32,64],[-32,-32,0,0] ],
[ [32,0,32,0],[-64,-32,-32,0] ],
[ [0,32,32,64],[-32,-32,0,0] ],
[ [32,0,32,0],[-64,-32,-32,0] ]
],
#
#
#line piece # ####
[ #
[ [0,32,64,96],[0,0,0,0] ],
[ [32,32,32,32],[-96,-64,-32,0] ],
[ [0,32,64,96],[0,0,0,0] ],
[ [32,32,32,32],[-96,-64,-32,0] ]
],
#
# z piece ## ##
[ ## #
[ [32,64,0,32],[-32,-32,0,0] ],
[ [0,0,32,32],[-64,-32,-32,0] ],
[ [32,64,0,32],[-32,-32,0,0] ],
[ [0,0,32,32],[-64,-32,-32,0] ]
]
]