Closed lectri closed 3 years ago
Also, the way I wrote the algorithm is clunky and kind of unreadable. Use a list comprehension or something of that sort.
Can't implement this. One: This is meant for sprite instances, not shapes. Two: We would still have to change everything one at a time.
We perhaps can use this to optimize snake movement. Instead of iterating through each snake body part in a list we can update all of them at the same time. Maybe though.