Evaluate.h 562 B

123456789101112131415161718192021222324252627282930313233
  1. #ifndef CHESSY_EVALUATE_H
  2. #define CHESSY_EVALUATE_H
  3. #include "BitBoard.h"
  4. namespace chessy
  5. {
  6. using MoveValue = float;
  7. // forward declaration
  8. class ChessGame;
  9. namespace values
  10. {
  11. extern const MoveValue PAWN;
  12. extern const MoveValue KNIGHT;
  13. extern const MoveValue BISHOP;
  14. extern const MoveValue ROOK;
  15. extern const MoveValue QUEEN;
  16. }
  17. template<Side side>
  18. MoveValue evaluatePositives(const ChessGame& game);
  19. MoveValue evaluate(const ChessGame& game);
  20. }
  21. #endif // CHESSY_EVALUATE_H