From 322e745ef6078be6c6016cf4d2b0186c97d8a435 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 27 Jul 2026 18:53:55 +0200 Subject: big commit adding bot --- src/main.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 706ca28..555e728 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3,6 +3,8 @@ #include "moves.hpp" #include "repl.hpp" #include +#include +#include #include using namespace std; @@ -37,6 +39,7 @@ Board initBoard(string startingFEN) { #define askMode = false int main(int argc, char **argv) { + srand(time(0)); std::string startingFen = "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"; if (argc < 1 || argc > 2) { -- cgit v1.2.3