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>
5
6template <typename T>
7concept 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};
Definitions and implementations of gameboard::Move and other move-related structs.
A container for multiple gameboard::Move objects.