fix: remove randomization of rotation
This commit is contained in:
@@ -8,7 +8,6 @@ class PieceGenerator:
|
||||
@classmethod
|
||||
def get_piece(cls, position):
|
||||
piece = Piece(cls.__get_piece_shape(), position, cls.__get_piece_color())
|
||||
[piece.rotate() for _ in range(random.randint(0, 3))] # randomize rotated position
|
||||
return piece
|
||||
|
||||
def __get_piece_shape():
|
||||
|
||||
Reference in New Issue
Block a user