Closed CaptainDaVinci closed 6 years ago
If the snake is currently moving in the left direction and the user hits right arrow then the snake would eat itself.
P.S: consider a snake having length > 3
If the snake is currently moving in the left direction and the user hits right arrow then the snake would eat itself.
P.S: consider a snake having length > 3