diff options
| author | Adam <adammegarules1@gmail.com> | 2026-07-27 18:53:55 +0200 |
|---|---|---|
| committer | Adam <adammegarules1@gmail.com> | 2026-07-27 18:53:55 +0200 |
| commit | 322e745ef6078be6c6016cf4d2b0186c97d8a435 (patch) | |
| tree | c8543502771d6c7ddc56018b6d07285e78a53381 /src/main.cpp | |
| parent | 178190a723730485c0450552bfdef4ec7c8fac38 (diff) | |
big commit adding bot
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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 <cstdio> +#include <cstdlib> +#include <ctime> #include <string> 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) { |
