From 45b569d758fcac9a35cad4132091bfbbba42c17f Mon Sep 17 00:00:00 2001 From: "Ahmet Sungur (Student)" <ahmet2.sungur@live.uwe.ac.uk@csctcloud.prxhn32zsyjupl12zde3wlfkch.cwx.internal.cloudapp.net> Date: Wed, 2 Apr 2025 18:03:36 +0100 Subject: [PATCH] final hopefully --- src/main.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main.c b/src/main.c index df1bbd0..891980b 100644 --- a/src/main.c +++ b/src/main.c @@ -108,7 +108,7 @@ int main(void) { if (IsKeyPressed(KEY_ENTER)) { ResetGameWithObstacles(&snake, &food, obstacles, &score, &gameState, &level); flashColor = GREEN; - flashFrames = 5; + flashFrames = 1; } break; } @@ -154,10 +154,6 @@ int main(void) { DrawCircle(food.position.x * CELL_SIZE + CELL_SIZE/2, food.position.y * CELL_SIZE + CELL_SIZE/2, CELL_SIZE/3, RED); - // Add details to make it look like an apple - DrawCircle(food.position.x * CELL_SIZE + CELL_SIZE/2, - food.position.y * CELL_SIZE + CELL_SIZE/2, - CELL_SIZE/3, BROWN); // Stem DrawCircle(food.position.x * CELL_SIZE + CELL_SIZE/3, food.position.y * CELL_SIZE + CELL_SIZE/3, CELL_SIZE/12, GREEN); // Leaf -- GitLab