From 3806bb74674f305679efdaa2889d155531bc3643 Mon Sep 17 00:00:00 2001 From: dawidg81 Date: Mon, 26 Jan 2026 17:24:50 +0100 Subject: dir rename --- 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