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
When there are no free coordinates in the field, it is unable for a new piece of fruit to spawn. The game halts in an infinite loop.
In this case, a new piece of fruit shall not appear. The field is probably completely filled by the snake’s body and the game will be over in the next turn.
For this to be possible, a more clever fruit spawning mechanism is needed. See #1.
The text was updated successfully, but these errors were encountered:
When there are no free coordinates in the field, it is unable for a new piece of fruit to spawn. The game halts in an infinite loop.
In this case, a new piece of fruit shall not appear. The field is probably completely filled by the snake’s body and the game will be over in the next turn.
For this to be possible, a more clever fruit spawning mechanism is needed. See #1.
The text was updated successfully, but these errors were encountered: