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
@@ -0,0 +1,13 @@
|
||||
#pragma once
|
||||
#include "board.h"
|
||||
|
||||
constexpr int materialValues[] {
|
||||
100, // Pawn
|
||||
300, // Knight
|
||||
350, // Bishop
|
||||
500, // Rook
|
||||
1000, // Queen
|
||||
10000 // King
|
||||
};
|
||||
|
||||
int Evaluate(Board &board);
|
||||
Reference in new issue
Block a user