issues
search
peter1591
/
hearthstone-ai
A Hearthstone AI based on Monte Carlo tree search and neural nets written in modern C++.
301
stars
49
forks
source link
design AI daemon framework
#59
Closed
peter1591
closed
6 years ago
peter1591
commented
7 years ago
AI daemon interface
Reset()
Run()
Specify a maximum running time slice, to keep it responsive
Pass a state::State generator, to generate starting state
Input mcts::Board, containing no hidden information
Pass a board determination handler, to determine hidden information
GetRootNode() -> node
GetNodeInfo(node)
UI
use log-parser to parse board --> mcts::Board
pass state::State to daemon
call daemon.Start()
wait for a while
Use daemon.GetRootNode() to get node
Use daemon.GetNodeInfo() to construct best choice
report on UI
peter1591
commented
6 years ago
Finished as judge and ui modules.
AI daemon interface
UI