diff options
| author | dawidg81 <dawidgorski.m@gmail.com> | 2026-02-03 13:37:05 +0100 |
|---|---|---|
| committer | dawidg81 <dawidgorski.m@gmail.com> | 2026-02-03 13:37:05 +0100 |
| commit | a0339e27d1d8f07cd7b8b687269b7db7d918cccf (patch) | |
| tree | 061f0ec35b9202cc33df9da6c8649134ca45972d /src/main.cpp | |
| parent | 53c7572acc0b7d11af77edd1d8934371a348220b (diff) | |
Fixed game logic
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 1 |
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){ |
