You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pygame 2.6.0 (SDL 2.28.4, Python 3.12.4)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "/home/volker/Sources/cs-jackie-tetris/main.py", line 3, in
Tetris().run()
^^^^^^^^
File "/home/volker/Sources/cs-jackie-tetris/tetris.py", line 17, in init
self.run()
File "/home/volker/Sources/cs-jackie-tetris/tetris.py", line 35, in run
self._board.update(False)
File "/home/volker/Sources/cs-jackie-tetris/board.py", line 37, in update
self.draw_tile(self._current_tile)
File "/home/volker/Sources/cs-jackie-tetris/board.py", line 52, in draw_tile
self._matrix[pos[0], pos[1]] = tile.get_color()
~~~~~~~~~~~~^^^^^^^^^^^^^^^^
IndexError: index 10 is out of bounds for axis 0 with size 10
The text was updated successfully, but these errors were encountered:
pygame 2.6.0 (SDL 2.28.4, Python 3.12.4)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "/home/volker/Sources/cs-jackie-tetris/main.py", line 3, in
Tetris().run()
^^^^^^^^
File "/home/volker/Sources/cs-jackie-tetris/tetris.py", line 17, in init
self.run()
File "/home/volker/Sources/cs-jackie-tetris/tetris.py", line 35, in run
self._board.update(False)
File "/home/volker/Sources/cs-jackie-tetris/board.py", line 37, in update
self.draw_tile(self._current_tile)
File "/home/volker/Sources/cs-jackie-tetris/board.py", line 52, in draw_tile
self._matrix[pos[0], pos[1]] = tile.get_color()
~~~~~~~~~~~~^^^^^^^^^^^^^^^^
IndexError: index 10 is out of bounds for axis 0 with size 10
The text was updated successfully, but these errors were encountered: