app/engine_hint.h

IHintSource backed by a bounded engine search (PLAN §8).

Runs a fixed-node search of the current position and returns the best move as source/target squares, for the LED “recommended move” highlight on the human’s turn. The node budget is deliberately small: the hint is a nudge, not a solver, and the engine’s generous per-move budget is for its own moves.

namespace kirin
class EngineHintSource : public kirin::IHintSource
#include <engine_hint.h>

Public Functions

explicit EngineHintSource(IEngine &engine, long nodeBudget = 50000)
virtual bool recommendedMove(int &from, int &to) override
inline void setNodeBudget(long nodes)

Private Members

IEngine &engine_
long nodeBudget_