Skip to content

Game::PlaceFood infinite loop #13

@michaelwarren91

Description

@michaelwarren91

If the snake fills the entire screen upon eating the last food item (in other words, winning the game), Game::PlaceFood will run forever as it attempts to find an x and y value that aren't occupied by the snake.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions