From e0ed8982a044274ff10192d894a43483c38b69e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Frankovi=C4=8D?= Date: Wed, 13 May 2026 19:10:18 +0200 Subject: [PATCH] gg --- final/main.c | 6 +++--- final/main.o | Bin 13264 -> 13264 bytes final/tetris | Bin 27032 -> 27032 bytes 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/final/main.c b/final/main.c index 763247b..9c264ba 100644 --- a/final/main.c +++ b/final/main.c @@ -85,9 +85,9 @@ static const int PIECE_SHAPES[NUM_PIECES][4][4][2] = { }, /* L piece */ { - {{-1, 0}, {0, 0}, {1, 0}, {-1, 1}}, + {{-1, 0}, {0, 0}, {1, 0}, {1, -1}}, {{0, -1}, {0, 0}, {0, 1}, {1, 1}}, - {{-1, -1}, {-1, 0}, {0, 0}, {1, 0}}, + {{-1, 0}, {0, 0}, {1, 0}, {-1, 1}}, {{0, -1}, {0, 0}, {0, 1}, {-1, -1}} } }; @@ -177,7 +177,7 @@ void spawn_piece(GameState* state) { state->piece_type = state->next_piece_type; state->next_piece_type = rand() % NUM_PIECES; state->piece_x = BOARD_WIDTH / 2; - state->piece_y = 0; + state->piece_y = 1; state->piece_rotation = 0; /* Check if game is over (piece can't spawn) */ diff --git a/final/main.o b/final/main.o index 1e1bf66fd4400aa9fe7a7b741f7e9c1aea1f0557..3e97363047268b7f1ae79cd2bf6f81e7ad6731e7 100644 GIT binary patch delta 35 pcmcbRej$Cs5++8*%}berr8pQF7#RKo!6aFg$uZIjn_Xmk!~puU4MqR} delta 35 rcmcbRej$Cs5++85%}berr6w0h^Gs%uRhYa$hGX&?8H3F+vL#{w??((H diff --git a/final/tetris b/final/tetris index d528cc9124bb0f3da0c0b5e91c34f05fa2ce0e7e..cabbf92fce1ee38ffe36a1a04cc99347607cf52b 100755 GIT binary patch delta 63 zcmbPnnQ_Kt#tjwBA|HO*Y)Fe?=#uM+3efJbSF4`=?bPNTW=9c5#?9x%S7}e&z{2t$ T2qrf;t4zM*sId8n^A%M9eE}T9 delta 63 zcmV-F0Kos4(*c;%0kC)j6tx1tIm=A9^adf%uyQxRl_WI87PE{4K@