Skip to content

[common] Detect a victory (successful game-over) #91

@felipesanches

Description

@felipesanches

One way to do it is to detect when all non-bomb cells have been opened, which is a total of width * height - num_bombs open cells.

This would then change the game state to a "victory screen" which we can be customized by the ports.

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