summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authordawidg81 <dawidgorski.m@gmail.com>2026-02-03 13:37:05 +0100
committerdawidg81 <dawidgorski.m@gmail.com>2026-02-03 13:37:05 +0100
commita0339e27d1d8f07cd7b8b687269b7db7d918cccf (patch)
tree061f0ec35b9202cc33df9da6c8649134ca45972d /src/main.cpp
parent53c7572acc0b7d11af77edd1d8934371a348220b (diff)
Fixed game logic
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 6dd0102..9f70dcd 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -31,6 +31,7 @@ int main(){
game.inGame = true;
}
+ srand(time(nullptr));
game.initBoard();
while(game.inGame){