10.4
This commit is contained in:
parent
880e594762
commit
3d65852834
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user