diff --git a/src/main.c b/src/main.c index 9d1d2c1785be36af6ded4501678855256b84c39e..98d64f90e26ab7f33456b4131dfb1834203604ad 100644 --- a/src/main.c +++ b/src/main.c @@ -48,8 +48,8 @@ int main(void) { case MENU: if (IsKeyPressed(KEY_ENTER)) { gameState = PLAYING; - flashColor = GREEN; - flashFrames = 5; // Short green flash when starting + flashColor = PURPLE; + flashFrames = 1; // Short green flash when starting } break; @@ -63,14 +63,14 @@ int main(void) { snake.length++; SpawnFood(&food); flashColor = YELLOW; - flashFrames = 5; + flashFrames = 1; } // Game over check if (CheckCollision(&snake)) { gameState = GAME_OVER; flashColor = RED; - flashFrames = 10; + flashFrames = 2; } break; @@ -114,7 +114,7 @@ int main(void) { case GAME_OVER: DrawText("GAME OVER!", SCREEN_WIDTH/2 - 100, SCREEN_HEIGHT/2 - 40, 40, RED); DrawText(TextFormat("Scoreee: %d", score), SCREEN_WIDTH/2 - 60, SCREEN_HEIGHT/2 + 20, 30, DARKGRAY); - DrawText("Press ENTER to Restaeeert", SCREEN_WIDTH/2 - 140, SCREEN_HEIGHT/2 + 70, 20, GRAY); + DrawText("Press ENTER to yeniden", SCREEN_WIDTH/2 - 140, SCREEN_HEIGHT/2 + 70, 20, GRAY); break; }