introduced basic position evaluation based on material
This commit is contained in:
1 parent
28d8b2689f
commit
f7286d37a4
3 files changed
+33
-3
No files matched your search
+4
-3
@@ -3,14 +3,15 @@
|
||||
#include "board.h"
|
||||
#include "movegen.h"
|
||||
#include "perft.h"
|
||||
#include "evaluate.h"
|
||||
|
||||
int main() {
|
||||
initLeaperAttacks();
|
||||
initSliderAttacks();
|
||||
|
||||
Board board;
|
||||
board.SetByFen("rnbq1k1r/pp1Pbppp/2p5/8/2B5/8/PPP1NnPP/RNBQK2R w KQ - 1 8");
|
||||
Perft(board, 6);
|
||||
Board board;
|
||||
|
||||
std::cout << Evaluate(board) << '\n';
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in new issue
Block a user