Skip to content

Commit

Permalink
bump version number and add license
Browse files Browse the repository at this point in the history
  • Loading branch information
connormcmonigle committed Apr 27, 2021
1 parent 6493513 commit f98a69f
Show file tree
Hide file tree
Showing 30 changed files with 510 additions and 7 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Seer is an original, strong UCI chess engine. Seer relies on a unique neural net
(training scripts use PyTorch for GPU acceleration and can be found [here](https://github.com/connormcmonigle/seer-training).
- Plain magic bitboard move generation with constexpr compile time generated attack tables.
- Principal variation search inside an iterative deepening framework
- Lockless shared transposition table (board state Zobrist hash is incrementally updated)
- Lockless shared transposition table (using Zobrist hashing)
- Move Ordering (SEE for captures + Killer Move, Combined Butterfly History, Counter Move History and Follow Up History for quiets)
- History pruning as well as SEE pruning in QSearch
- History extensions
Expand All @@ -24,9 +24,9 @@ Seer is an original, strong UCI chess engine. Seer relies on a unique neural net
- Aspiration windows

### Compiling

The latest network can be found [here](https://github.com/connormcmonigle/seer-training/releases)
```
cd build
cmake ..
make seer
wget -O eval.bin https://github.com/connormcmonigle/seer-training/releases/download/0xbd25a7d4/0xbd25a7d4.bin
make pgo EVALFILE=eval.bin
```
17 changes: 17 additions & 0 deletions include/bench.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
Seer is a UCI chess engine by Connor McMonigle
Copyright (C) 2021 Connor McMonigle
Seer is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Seer is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

#include <iostream>
Expand Down
17 changes: 17 additions & 0 deletions include/bit_range.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
Seer is a UCI chess engine by Connor McMonigle
Copyright (C) 2021 Connor McMonigle
Seer is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Seer is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

#include <utility>
Expand Down
17 changes: 17 additions & 0 deletions include/board.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
Seer is a UCI chess engine by Connor McMonigle
Copyright (C) 2021 Connor McMonigle
Seer is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Seer is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

#include <iostream>
Expand Down
17 changes: 17 additions & 0 deletions include/embedded_weights.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
Seer is a UCI chess engine by Connor McMonigle
Copyright (C) 2021 Connor McMonigle
Seer is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Seer is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

#define INCBIN_PREFIX
Expand Down
17 changes: 17 additions & 0 deletions include/enum_util.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
Seer is a UCI chess engine by Connor McMonigle
Copyright (C) 2021 Connor McMonigle
Seer is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Seer is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

#include <cctype>
Expand Down
17 changes: 17 additions & 0 deletions include/eval_cache.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
Seer is a UCI chess engine by Connor McMonigle
Copyright (C) 2021 Connor McMonigle
Seer is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Seer is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

#include <array>
Expand Down
17 changes: 17 additions & 0 deletions include/history_heuristic.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
Seer is a UCI chess engine by Connor McMonigle
Copyright (C) 2021 Connor McMonigle
Seer is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Seer is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

#include <iostream>
Expand Down
17 changes: 17 additions & 0 deletions include/latent.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
Seer is a UCI chess engine by Connor McMonigle
Copyright (C) 2021 Connor McMonigle
Seer is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Seer is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

#include <array>
Expand Down
17 changes: 17 additions & 0 deletions include/manifest.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
Seer is a UCI chess engine by Connor McMonigle
Copyright (C) 2021 Connor McMonigle
Seer is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Seer is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

#include <array>
Expand Down
17 changes: 17 additions & 0 deletions include/move.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
Seer is a UCI chess engine by Connor McMonigle
Copyright (C) 2021 Connor McMonigle
Seer is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Seer is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

#include <iostream>
Expand Down
17 changes: 17 additions & 0 deletions include/move_orderer.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
Seer is a UCI chess engine by Connor McMonigle
Copyright (C) 2021 Connor McMonigle
Seer is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Seer is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

#include <iostream>
Expand Down
17 changes: 17 additions & 0 deletions include/nnue_model.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
Seer is a UCI chess engine by Connor McMonigle
Copyright (C) 2021 Connor McMonigle
Seer is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Seer is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

#include <cstdint>
Expand Down
17 changes: 17 additions & 0 deletions include/nnue_util.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
Seer is a UCI chess engine by Connor McMonigle
Copyright (C) 2021 Connor McMonigle
Seer is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Seer is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

#include <iostream>
Expand Down
17 changes: 17 additions & 0 deletions include/option_parser.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
Seer is a UCI chess engine by Connor McMonigle
Copyright (C) 2021 Connor McMonigle
Seer is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Seer is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

#include <iostream>
Expand Down
17 changes: 17 additions & 0 deletions include/position_history.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
Seer is a UCI chess engine by Connor McMonigle
Copyright (C) 2021 Connor McMonigle
Seer is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Seer is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

#include <vector>
Expand Down
17 changes: 17 additions & 0 deletions include/search_constants.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
Seer is a UCI chess engine by Connor McMonigle
Copyright (C) 2021 Connor McMonigle
Seer is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Seer is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

#include <iostream>
Expand Down
17 changes: 17 additions & 0 deletions include/search_stack.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
Seer is a UCI chess engine by Connor McMonigle
Copyright (C) 2021 Connor McMonigle
Seer is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Seer is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

#include <array>
Expand Down
Loading

0 comments on commit f98a69f

Please sign in to comment.