From 630a80f639e9af1365bf397004961f44ce7ae65a Mon Sep 17 00:00:00 2001 From: pwhjurltz <2624989522@qq.com> Date: Tue, 9 Jan 2024 20:39:38 +0800 Subject: [PATCH] ADD file via upload --- AI.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 AI.h diff --git a/AI.h b/AI.h new file mode 100644 index 0000000..2fa585e --- /dev/null +++ b/AI.h @@ -0,0 +1,15 @@ +#pragma once +#include"Chess.h" +class AI +{ +public: + void init(Chess *chess); + void go(); +private: + Chess* chess; + vector> scoreMap; +private: + void calculateScore(); + ChessPos think(); +}; +