diff options
| author | dawidg81 <dawidgorski.m@gmail.com> | 2026-01-26 16:24:55 +0100 |
|---|---|---|
| committer | dawidg81 <dawidgorski.m@gmail.com> | 2026-01-26 16:24:55 +0100 |
| commit | a07cb9c0d0f858ac159cc5c0117e3f3df23a5752 (patch) | |
| tree | 0330d3eaf8010873ef16a181a68f67b17981ef60 /src/game/game.cpp | |
| parent | 11e83f577039ec03403720b416e7f8bd66606342 (diff) | |
more code fragmentation
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'); - } -} |
