summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Game.cpp11
1 files changed, 10 insertions, 1 deletions
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";
}