They aren't moving
snake.update() is what's moving the snake. In the code you posted, you're not calling it.
They aren't moving
snake.update() is what's moving the snake. In the code you posted, you're not calling it.
Hello to all my stalkers.
Yes, I know added it later. There is strange thing, I think the snake is moving too fast, because when I add SDL_Delay(20) after snake.update()
there is snake, but after around 5 seconds it blinks and there is not snake..Maybe I should try making snake to move slower or there is something that I should add
for frames?