This commit is contained in:
Macko 2024-04-10 23:14:13 +02:00
parent 880e594762
commit 3d65852834

View File

@ -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) {