lectri / Snake

A simple snake game made using Python. To practice my programming skill.
1 stars 0 forks source link

Inefficient Movement #7

Closed lectri closed 3 years ago

lectri commented 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.

lectri commented 3 years ago

Nevermind, you do, but make an update function instead of a bunch of different functions to clean up our code.

lectri commented 3 years ago

Won't fix this actually.