From a0339e27d1d8f07cd7b8b687269b7db7d918cccf Mon Sep 17 00:00:00 2001 From: dawidg81 Date: Tue, 3 Feb 2026 13:37:05 +0100 Subject: Fixed game logic --- src/main.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main.cpp') 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){ -- cgit v1.2.3