I've been writing an engine implementing UHP, but have a question regarding how draws are handled. In a two player game, a draw can either happen due to a single move surrounding both queens, or because both players agree to a draw. The former case is pretty straightforward to implement, but the latter doesn't seem to be supported by UHP. Regardless of the play scenario (PvP, PvAI, AIvAI), I can see a use case for supporting voluntary draws.
Perhaps adding some new commands (e.g. proposedraw acceptdraw rejectdraw) that don't update the board state could facilitate this?
p.s. I really appreciate the work you've put into this!
I've been writing an engine implementing UHP, but have a question regarding how draws are handled. In a two player game, a draw can either happen due to a single move surrounding both queens, or because both players agree to a draw. The former case is pretty straightforward to implement, but the latter doesn't seem to be supported by UHP. Regardless of the play scenario (PvP, PvAI, AIvAI), I can see a use case for supporting voluntary draws.
Perhaps adding some new commands (e.g.
proposedrawacceptdrawrejectdraw) that don't update the board state could facilitate this?p.s. I really appreciate the work you've put into this!