Improve performance for Food's random position initialization #4
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
When a Food object is created, a random generation function is used to create it's position, excluding the snake's position from the possible generated positions:
The text was updated successfully, but these errors were encountered: