[Add] Playful interaction with cells

This commit is contained in:
2026-06-06 21:34:35 +07:00
parent 1a6f8901a2
commit 1483964eaf
5 changed files with 195 additions and 5 deletions
@@ -8,9 +8,13 @@ namespace Minesweeper.Core
int Height { get; }
int MinesCount { get; }
bool IsGenerated { get; }
int OpenedSafeCellsCount { get; }
int SafeCellsCount { get; }
void InitializeEmptyBoard();
bool GenerateAfterFirstClick(int safeX, int safeY);
BoardActionResult OpenCell(int x, int y);
BoardActionResult ToggleFlag(int x, int y);
bool IsInside(int x, int y);
bool TryGetCell(int x, int y, out BoardCellData cell);
IReadOnlyList<BoardCellData> GetCells();