aboutsummaryrefslogtreecommitdiff
path: root/src/games/minesweeper
diff options
context:
space:
mode:
authorfschildt <florian.schildt@protonmail.com>2025-12-10 19:19:32 +0100
committerfschildt <florian.schildt@protonmail.com>2025-12-10 19:19:32 +0100
commit69f46d34e9c6a25c63668423fd984d07c1f099a3 (patch)
treec796130ca3911e5cf8f3257acde210a6f5ad7234 /src/games/minesweeper
parent3f95bc6b463f629c620ba5811ca3ce53ed9c03a2 (diff)
use "" include over <> include for own code
Diffstat (limited to 'src/games/minesweeper')
-rw-r--r--src/games/minesweeper/Minesweeper.cpp12
-rw-r--r--src/games/minesweeper/Minesweeper.hpp6
2 files changed, 5 insertions, 13 deletions
diff --git a/src/games/minesweeper/Minesweeper.cpp b/src/games/minesweeper/Minesweeper.cpp
index 5cc3215..3638af8 100644
--- a/src/games/minesweeper/Minesweeper.cpp
+++ b/src/games/minesweeper/Minesweeper.cpp
@@ -1,5 +1,5 @@
-#include <games/minesweeper/Minesweeper.hpp>
-#include <renderer/Renderer.hpp>
+#include "games/minesweeper/Minesweeper.hpp"
+#include "renderer/Renderer.hpp"
#include <imgui.h>
@@ -7,14 +7,6 @@
#include <random>
-// Todo:
-// - First click may not be a mine!
-// - Show current time spent
-// - Show current flags/mines left
-// - Permit uncovering of flagged cell
-// - Game Over: Show Highscore for selected difficulty
-
-
static constexpr Color s_mine_count_colors[8] = {
{0.0f, 0.0f, 1.0f, 1.0f}, // Blue
{0.0f, 0.5f, 0.0f, 1.0f}, // Green
diff --git a/src/games/minesweeper/Minesweeper.hpp b/src/games/minesweeper/Minesweeper.hpp
index 1db77ff..9088d10 100644
--- a/src/games/minesweeper/Minesweeper.hpp
+++ b/src/games/minesweeper/Minesweeper.hpp
@@ -1,8 +1,8 @@
#pragma once
-#include <games/Game.hpp>
-#include <common/math.hpp>
-#include <common/Font.hpp>
+#include "games/Game.hpp"
+#include "common/math.hpp"
+#include "common/Font.hpp"
class Minesweeper : public Game {