From 3d658528340ecba471ce0685ac429f7ed63bc05a Mon Sep 17 00:00:00 2001 From: Miloslav Macko Date: Wed, 10 Apr 2024 23:14:13 +0200 Subject: [PATCH] 10.4 --- cv9/snake.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cv9/snake.c b/cv9/snake.c index 1075d55..58f0b29 100644 --- a/cv9/snake.c +++ b/cv9/snake.c @@ -23,6 +23,7 @@ struct snake* remove_snake(struct snake* snake) { return new_head; } + int is_snake(struct snake* snake, int x, int y) { while (snake) { if (snake->x == x && snake->y == y) {