We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11fe40b commit 17f2f42Copy full SHA for 17f2f42
tetris/game.py
@@ -44,7 +44,8 @@ def __init__(
44
self.engine = engine
45
self.seed = secrets.token_bytes()
46
if board is None:
47
- # Internally, we use 2x the height to "buffer" the board being pushed above the view
+ # Internally, we use 2x the height to "buffer" the board being
48
+ # pushed above the view (e.g.: with garbage)
49
self.board = np.zeros((board_size[0] * 2, board_size[1]), dtype=np.int8)
50
51
else:
0 commit comments