ReadonlyapplyReadonlycurrentThe side whose turn it is. Alpha-beta assumes a two-player zero-sum game.
ReadonlyevaluateScore from the perspective of the root player. Higher is better.
ReadonlyisReadonlymovesLegal moves from this state, in the game's preferred stable order.
Apply a move and return the next state. Do not mutate the input state.