black formatting
This commit is contained in:
parent
ee7e6fcdb9
commit
6135e24eac
@ -13,7 +13,7 @@ from .consts import (
|
|||||||
AUTOREPEAT_PERIOD,
|
AUTOREPEAT_PERIOD,
|
||||||
MATRIX_PIECE_COORD,
|
MATRIX_PIECE_COORD,
|
||||||
SCORES,
|
SCORES,
|
||||||
LINES_CLEAR_NAME
|
LINES_CLEAR_NAME,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@ -82,7 +82,6 @@ class NextQueue(PieceContainer):
|
|||||||
|
|
||||||
|
|
||||||
class Stats:
|
class Stats:
|
||||||
|
|
||||||
def _get_score(self):
|
def _get_score(self):
|
||||||
return self._score
|
return self._score
|
||||||
|
|
||||||
@ -302,10 +301,7 @@ class TetrisLogic:
|
|||||||
# Pattern phase
|
# Pattern phase
|
||||||
|
|
||||||
# T-Spin
|
# T-Spin
|
||||||
if (
|
if type(self.matrix.piece) == T_Tetrimino and self.matrix.piece.rotated_last:
|
||||||
type(self.matrix.piece) == T_Tetrimino
|
|
||||||
and self.matrix.piece.rotated_last
|
|
||||||
):
|
|
||||||
a = self.is_t_slot(T_Slot.A)
|
a = self.is_t_slot(T_Slot.A)
|
||||||
b = self.is_t_slot(T_Slot.B)
|
b = self.is_t_slot(T_Slot.B)
|
||||||
c = self.is_t_slot(T_Slot.C)
|
c = self.is_t_slot(T_Slot.C)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user