minebender-game
Search uses release 1.0.0.0 · 1,011 definitions
Definitions (1,011)
- def solveA provably safe hidden cell, or None when every hidden cell might hold a mine.
- def GridA grid is a list of rows.
- type PosA cell: column x, row y; Pos{0n, 0n} is the top-left cell.
- type SeenWhat the player sees in one cell.
- type KnowledgeEverything the player knows: the board is w columns by h rows, it holds `mines` mines in total, and `rows` holds one Seen per cell, row by row.
- type ActionWhat the player can do.
- type LossWhy a game was lost: the player revealed the mine at p, or pressed the assist while `safe` could have been revealed without guessing.
- type Status
- type LevelA board size and mine count, as in Windows XP's Game menu.
- type Setup
- type TileWhat one cell looks like on screen.