diff --git a/tetris.py b/tetris.py index 5a9d6d9..7cfdc9f 100644 --- a/tetris.py +++ b/tetris.py @@ -10,7 +10,8 @@ play_height = 600 block_size = 30 -top_left_x = (s_width - play_width) // 2 + wdif=(s_width - play_width) +top_left_x = wdif // 2 top_left_y = s_height - play_height