added first draft litris

This commit is contained in:
2023-07-22 20:39:20 +02:00
parent fba0c2c506
commit d78319a9f4

View File

@@ -178,8 +178,8 @@ class Tetromino():
't': {0: 9, 1: 9, 2: 9, 3: 9},
's': {0: 9, 1: 10, 2: 9, 3: 10},
'z': {0: 9, 1: 10, 2: 9, 3: 10},
'j': {0: 9, 1: 9, 2: 10, 3: 9},
'l': {0: 9, 1: 9, 2: 9, 3: 9}
'j': {0: 10, 1: 9, 2: 10, 3: 9},
'l': {0: 10, 1: 9, 2: 10, 3: 9}
}
return offset_map.get(self.letter)[rotation]