Lemme use this opportunity to link Simon Tatham's Portable Puzzle Collection https://www.chiark.greenend.org.uk/~sgtatham/puzzles/
Available for linux, mobile, online and of course static-linked exe. Also as opposed to Windows Minesweeper, mines.exe is guaranteed to be solvable every time.