From a07cb9c0d0f858ac159cc5c0117e3f3df23a5752 Mon Sep 17 00:00:00 2001 From: dawidg81 Date: Mon, 26 Jan 2026 16:24:55 +0100 Subject: more code fragmentation --- src/game/game.cpp | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 src/game/game.cpp (limited to 'src/game/game.cpp') 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 -#include -#include - -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'); - } -} -- cgit v1.2.3