diff --git a/src/main.c b/src/main.c index df1bbd072cf1e4f49b5a6ff76ca2e865a2eaa4f6..891980be0445eb50d984f01374652f28ccb2c869 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