fix: remove randomization of rotation

This commit is contained in:
Giovani Rodriguez
2021-06-04 11:31:39 -04:00
parent 9075e77f4c
commit a79f2be998
3 changed files with 12 additions and 15 deletions

View File

@@ -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():