totalindependent.blogg.se

Snake game in c language
Snake game in c language





snake game in c language snake game in c language

And I can't run your program since I don't use windows. If (head.X = apple.X & head.Y = apple.Y) I'm not sure what you mean by bending the body. SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), c)

snake game in c language

Thanks for looking, and side note although its not a huge deal if anyone can help make the screen less flashy that would be great. If((head.X = apple.X) & (head.Y = apple.Y)) SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), coord) Input = getch() //Change INPUT to desired direction. The only thing it is missing is how to bend the snakes body #include







Snake game in c language