summaryrefslogtreecommitdiff
path: root/src/game/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/game.cpp')
-rw-r--r--src/game/game.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/game/game.cpp b/src/game/game.cpp
index 46f85ed..7304957 100644
--- a/src/game/game.cpp
+++ b/src/game/game.cpp
@@ -10,29 +10,6 @@ void Game::editDiff(){
cout << "Now editing custom difficulty" << endl;
}
-void Game::initDiff(int diff) {
- switch (diff) {
- case 0:
- boardWidth = 9;
- boardHeight = 9;
- mines = 9;
- break;
- case 1:
- boardWidth = 16;
- boardHeight = 16;
- mines = 12;
- break;
- case 2:
- boardWidth = 30;
- boardHeight = 16;
- mines = 16;
- break;
- case 3:
- std::cout << "Editing game parameters\n";
- break;
- }
-}
-
void Game::initBoard() {
for (int i = 0; i < boardHeight; i++)
for (int j = 0; j < boardWidth; j++)