fixing winning condition of the game

This commit is contained in:
Bernardo Magri
2025-03-12 17:07:10 +00:00
parent 4ff86eb027
commit 2a1d45f998
4 changed files with 17 additions and 4 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ class MainWindow : public Gtk::Window
Gtk::Button optionButton;
Gtk::Label flagLabel;
Gtk::Label clockLabel;
MineField field {16, 16, 40};
MineField field {16, 16, 1};
int m_elapsedTime;
bool newGame;
std::shared_ptr<Gdk::Texture> m_textureBomb;