jajodiaraghav / Snake

A simple game built using Python Pygame Library
20 stars 26 forks source link

Snake bites itself if moved in a direction opposite to the current direction. #19

Closed CaptainDaVinci closed 6 years ago

CaptainDaVinci commented 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