aboutsummaryrefslogtreecommitdiff
path: root/src/games
diff options
context:
space:
mode:
authorfschildt <florian.schildt@protonmail.com>2025-09-28 13:51:52 +0200
committerfschildt <florian.schildt@protonmail.com>2025-09-28 13:51:52 +0200
commitd793b79dea7d5e19982128528276cf05d6c23b5d (patch)
tree02b733b9f22f03f041b3070f3f41a55ee614fad3 /src/games
parentb62865965ee798d8fd82c685faa105b04c129218 (diff)
minesweeper: increase grid size
Diffstat (limited to 'src/games')
-rw-r--r--src/games/minesweeper/Minesweeper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/games/minesweeper/Minesweeper.cpp b/src/games/minesweeper/Minesweeper.cpp
index 8f20268..2174ab8 100644
--- a/src/games/minesweeper/Minesweeper.cpp
+++ b/src/games/minesweeper/Minesweeper.cpp
@@ -37,7 +37,7 @@ Minesweeper::Reset(Difficulty difficulty)
}
- float cell_size = 0.8f * std::min(m_world_height / MAX_MAP_HEIGHT, m_world_width / MAX_MAP_WIDTH);
+ float cell_size = 1.2f * std::min(m_world_height / MAX_MAP_HEIGHT, m_world_width / MAX_MAP_WIDTH);
float cell_size_without_border = 0.8f * cell_size;
V2F32 grid_size = {