Xiangiqgame
AI engine for Xiangqi
Loading...
Searching...
No Matches
move_evaluator.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <concepts>
4
#include <
gameboard/move_data_structs.hpp
>
5
6
template
<
typename
T>
7
concept
MoveEvaluatorConcept
=
requires
(T t,
gameboard::MoveCollection
&allowed_moves) {
8
{ t.SelectMove(allowed_moves) } -> std::same_as<gameboard::Move>;
9
{ t.NotifyIllegalMove() } -> std::same_as<void>;
10
};
MoveEvaluatorConcept
Definition:
move_evaluator.hpp:7
move_data_structs.hpp
Definitions and implementations of gameboard::Move and other move-related structs.
gameboard::MoveCollection
A container for multiple gameboard::Move objects.
Definition:
move_data_structs.hpp:31
include
concepts
move_evaluator.hpp
Generated on Sun Dec 29 2024 02:10:05 for Xiangiqgame by
1.9.6