Versions in this module Expand all Collapse all v1 v1.0.0 Dec 11, 2022 Changes in this version + type GameConfig struct + FlagsEnabled bool + Lives int + NumCols int + NumMines int + NumRows int + Seed string + type IGame interface + Config func() *config + ProcessAdjacentTiles func(rowIndex int, colIndex int) ([]int, error) + RevealTile func(rowIndex int, colIndex int) ([]int, error) + StartTime func() time.Time + State func() int + Stats func() stats + Tile func(rowIndex int, colIndex int) (minefield.ITile, error) + ToggleFlag func(rowIndex int, colIndex int) error + func Generate(args GameConfig) IGame