summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordawidg81 <dawidgorski.m@gmail.com>2026-02-03 13:38:28 +0100
committerdawidg81 <dawidgorski.m@gmail.com>2026-02-03 13:38:28 +0100
commitb4a18c82230f6c081ec0a7b5d6b8d64e256db4d4 (patch)
treef7a02026e87eb0ff6294c180c4037b0ca669ee71
parenta0339e27d1d8f07cd7b8b687269b7db7d918cccf (diff)
patch
-rwxr-xr-xminesweeperbin0 -> 53552 bytes
-rw-r--r--src/Game.cpp2
-rw-r--r--src/Game.obin0 -> 15200 bytes
-rw-r--r--src/main.obin0 -> 7336 bytes
4 files changed, 1 insertions, 1 deletions
diff --git a/minesweeper b/minesweeper
new file mode 100755
index 0000000..466b37c
--- /dev/null
+++ b/minesweeper
Binary files differ
diff --git a/src/Game.cpp b/src/Game.cpp
index f230a04..87686c0 100644
--- a/src/Game.cpp
+++ b/src/Game.cpp
@@ -115,7 +115,7 @@ void Game::displayBoard() {
#endif
for(int y=0; y < boardHeight; y++){
- for(int x; x < boardWidth; x++){
+ for(int x = 0; x < boardWidth; x++){
if(tileMap[y][x] == 0) putchar('#');
else if(tileMap[y][x] == 1) putchar('.');
else putchar('0' + tileMap[y][x] - 1);
diff --git a/src/Game.o b/src/Game.o
new file mode 100644
index 0000000..261e5ac
--- /dev/null
+++ b/src/Game.o
Binary files differ
diff --git a/src/main.o b/src/main.o
new file mode 100644
index 0000000..0751ff9
--- /dev/null
+++ b/src/main.o
Binary files differ