4

I am writing a UCI chess AI/engine. It has the ability to draw and resign. How do I communicate this to the uci chess interface? what string shoud i send back to the GUI?

6

UCI chess engines don't offer/accept a draw, nor resign a position. This is the GUI's responsibility.

You are welcome to add new uci options (setoption and option) for your engine, but don't expect universe UCI support.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.