You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The snake's length increases with each apple it eats. So, as the player successfully eats more apples, it'd be neat if the game got a little more difficult by increasing the snake's baseline speed.
Acceptance Criteria
The snake's speed increases at reasonable increments as it's length increases
There is an upper bound on speed so the snake is never uncontrollably fast
There is a lower bound on speed so the snake is never frustratingly slow
Unit tests are written to cover the new code/methods added
Suggestion
Try looking at the window.timeout() functionality in curses. This may not be relevant to the final solution, but this method is what currently controls the delay in milliseconds that establishes the snake's speed.
The text was updated successfully, but these errors were encountered:
Overview
The snake's length increases with each apple it eats. So, as the player successfully eats more apples, it'd be neat if the game got a little more difficult by increasing the snake's baseline speed.
Acceptance Criteria
Suggestion
Try looking at the
window.timeout()
functionality in curses. This may not be relevant to the final solution, but this method is what currently controls the delay in milliseconds that establishes the snake's speed.The text was updated successfully, but these errors were encountered: