diff options
Diffstat (limited to 'src/game/game.cpp')
| -rw-r--r-- | src/game/game.cpp | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/game/game.cpp b/src/game/game.cpp deleted file mode 100644 index 7304957..0000000 --- a/src/game/game.cpp +++ /dev/null @@ -1,29 +0,0 @@ -#include "Game.hpp" - -#include <cstdlib> -#include <cstdio> -#include <iostream> - -using namespace std; - -void Game::editDiff(){ - cout << "Now editing custom difficulty" << endl; -} - -void Game::initBoard() { - for (int i = 0; i < boardHeight; i++) - for (int j = 0; j < boardWidth; j++) - bombMap[i][j] = rand() % 2; - - for (int i = 0; i < boardHeight; i++) - for (int j = 0; j < boardWidth; j++) - tileMap[i][j] = 0; -} - -void Game::displayBoard() { - for (int i = 0; i < boardHeight; i++) { - for (int j = 0; j < boardWidth; j++) - putchar(tileMap[i][j]); - putchar('\n'); - } -} |
