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/display.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/game/display.cpp (limited to 'src/game/display.cpp') diff --git a/src/game/display.cpp b/src/game/display.cpp new file mode 100644 index 0000000..4fb16cb --- /dev/null +++ b/src/game/display.cpp @@ -0,0 +1,14 @@ +#include "Game.hpp" + +#include +#include +#include + + +void Game::displayBoard() { + for (int i = 0; i < boardHeight; i++) { + for (int j = 0; j < boardWidth; j++) + putchar(tileMap[i][j]); + putchar('\n'); + } +} \ No newline at end of file -- cgit v1.2.3