added first draft litris
This commit is contained in:
@@ -177,8 +177,8 @@ class Tetromino():
|
|||||||
'd': {0: 9, 1: 9, 2: 9, 3: 9},
|
'd': {0: 9, 1: 9, 2: 9, 3: 9},
|
||||||
't': {0: 9, 1: 9, 2: 9, 3: 9},
|
't': {0: 9, 1: 9, 2: 9, 3: 9},
|
||||||
's': {0: 9, 1: 8, 2: 9, 3: 8},
|
's': {0: 9, 1: 8, 2: 9, 3: 8},
|
||||||
'z': {0: 9, 1: 8, 2: 9, 3: 8},
|
'z': {0: 10, 1: 8, 2: 10, 3: 8},
|
||||||
'j': {0: 8, 1: 9, 2: 8, 3: 9},
|
'j': {0: 10, 1: 9, 2: 10, 3: 9},
|
||||||
'l': {0: 8, 1: 9, 2: 8, 3: 9}
|
'l': {0: 8, 1: 9, 2: 8, 3: 9}
|
||||||
}
|
}
|
||||||
return offset_map.get(self.letter)[rotation]
|
return offset_map.get(self.letter)[rotation]
|
||||||
|
|||||||
Reference in New Issue
Block a user