From 67f1181e2c9227a3f33f9b6823ad48d33c1482e0 Mon Sep 17 00:00:00 2001 From: dawidg81 Date: Mon, 2 Feb 2026 13:53:34 +0100 Subject: a --- src/Game.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/Game.cpp b/src/Game.cpp index 5399a22..d1386fe 100644 --- a/src/Game.cpp +++ b/src/Game.cpp @@ -144,7 +144,16 @@ void Game::input(){ std::cin >> input; if(input == "q"){ - inGame = false; + inGame = false; + + } else if(input == "d"){ + int x, y; + std::cout << "Enter column and row where to dig: "; + std::cin >> x >> y; + } else if(input == "f"){ + int x, y; + std::cout << "Enter column and row where to place flag: "; + std::cin >> x >> y; } else { std::cout << "Unknown command '" << input << "'.\n"; } -- cgit v1.2.3