Skip to content

Commit 528bb20

Browse files
authored
v0.9 update
1 parent d704d3c commit 528bb20

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/games.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ constexpr byte TETRIS_SCORE_X = 7;
100100
constexpr byte TETRIS_SCORE_Y = 4;
101101
constexpr byte TETRIS_NEXT_LABEL_X = 40;
102102
constexpr byte TETRIS_NEXT_LABEL_Y = 4;
103-
constexpr byte TETRIS_NEXT_PIECE_X = 53;
103+
constexpr byte TETRIS_NEXT_PIECE_X = 45;
104104
constexpr byte TETRIS_NEXT_PIECE_Y = 4;
105105
constexpr byte TETRIS_TYPES = 6;
106106
constexpr uint16_t TETRIS_INITIAL_DROP_MS = 420;
@@ -630,7 +630,7 @@ void tetrisRenderFrame() {
630630
display.drawLine(0, TETRIS_HEADER_LINE_Y, display.width(), TETRIS_HEADER_LINE_Y, SH110X_WHITE);
631631
display.drawRect(0, 0, display.width(), display.height(), SH110X_WHITE);
632632
display.drawRect(TETRIS_MARGIN_LEFT - 1, TETRIS_MARGIN_TOP - 1,
633-
TETRIS_BOARD_PIXEL_WIDTH + 2, TETRIS_BOARD_PIXEL_HEIGHT + 2, SH110X_WHITE);
633+
TETRIS_BOARD_PIXEL_WIDTH + 1, TETRIS_BOARD_PIXEL_HEIGHT + 2, SH110X_WHITE);
634634

635635
for (byte x = 0; x < TETRIS_BOARD_WIDTH; x++) {
636636
for (byte y = 0; y < TETRIS_BOARD_HEIGHT; y++) {

0 commit comments

Comments
 (0)