serenity/Userland/Games/Minesweeper
Pedro Pereira 557075465c Minesweeper: Add "Custom game..." difficulty
This adds a dialog window which allows us to customize the size of the
board and the amount of mines that will be placed.
The current max amount of mines is 50% of the total number of cells
due to the fact that the generator algorithm takes too long to create a
board for higher percentages of mines.
2021-11-14 23:52:55 +00:00
..
CMakeLists.txt Minesweeper: Add "Custom game..." difficulty 2021-11-14 23:52:55 +00:00
CustomGameDialog.cpp Minesweeper: Add "Custom game..." difficulty 2021-11-14 23:52:55 +00:00
CustomGameDialog.h Minesweeper: Add "Custom game..." difficulty 2021-11-14 23:52:55 +00:00
Field.cpp LibGfx: Use ErrorOr<T> for Bitmap::try_load_from_file() 2021-11-08 00:35:27 +01:00
Field.h Demos+DevTools+Games: Fix visibility of Object-derivative constructors 2021-11-02 22:56:53 +01:00
main.cpp Minesweeper: Add "Custom game..." difficulty 2021-11-14 23:52:55 +00:00
MinesweeperCustomGameWindow.gml Minesweeper: Add "Custom game..." difficulty 2021-11-14 23:52:55 +00:00