Closed lectri closed 3 years ago
We don't need a string and two functions to do our movement! Just use an integer constant that has the snake speed. And make it negative or positive corresponding to the direction it's going.
Nevermind, you do, but make an update function instead of a bunch of different functions to clean up our code.
Won't fix this actually.
We don't need a string and two functions to do our movement! Just use an integer constant that has the snake speed. And make it negative or positive corresponding to the direction it's going.