litris update

This commit is contained in:
Thaloria@web.de
2023-07-23 14:24:09 +02:00
parent ba2fd6c945
commit 6012a51538
2 changed files with 96 additions and 156 deletions

View File

@@ -172,14 +172,14 @@ class Tetromino():
'i': {0: 8, 1: 9, 2: 9, 3: 9},
'a': {0: 9, 1: 9, 2: 9, 3: 9},
'b': {0: 9, 1: 9, 2: 9, 3: 9},
'c': {0: 10, 1: 9, 2: 9, 3: 9},
'c': {0: 10, 1: 10, 2: 10, 3: 10},
'o': {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},
's': {0: 9, 1: 8, 2: 9, 3: 8},
'z': {0: 9, 1: 8, 2: 10, 3: 8},
'j': {0: 8, 1: 9, 2: 8, 3: 9},
'l': {0: 8, 1: 9, 2: 8, 3: 9}
't': {0: 9, 1: 9, 2: 8, 3: 9},
's': {0: 9, 1: 9, 2: 9, 3: 9},
'z': {0: 9, 1: 9, 2: 9, 3: 9},
'j': {0: 8, 1: 9, 2: 9, 3: 9},
'l': {0: 8, 1: 9, 2: 9, 3: 9}
}
return offset_map.get(self.letter)[rotation]