Fixed issue 12 with the snake game ending with the back key. The issue was that the head touching the head was considered a collision which can never occur this was fixed by adding another condition to the if condition in _is_collision(). The condition was (self.head != self.snake[0])
Fixed issue 12 with the snake game ending with the back key. The issue was that the head touching the head was considered a collision which can never occur this was fixed by adding another condition to the if condition in _is_collision(). The condition was (self.head != self.snake[0])