This time I'll invite you to write a special sleep() method that will pause depending on the length of the snake (the number of elements in sections). Think of some slick algorithm. Make the delay 500 milliseconds on the first level, and gradually drop it to 300 by Level 11. And to 200 by Level 15.
Snake (part 13)
You must be signed in to leave a comment
This page doesn't have any comments yet