Answers.Body: <p>UCI chess engines don't offer/accept a draw, nor resign a position. This is the GUI's responsibility.</p>
  
  <p>You are welcome to add new uci options (<code>setoption</code> and <code>option</code>) for your engine, but don't expect universe UCI support.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-11-11T05:58:18.643Z
Answers.LastActivityDate: 2017-11-11T05:58:18.643Z
Answers.UserDisplayName: SmallChess
Body: <p>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?</p>
  
Tags: <draw><uci><resigning><claim-draw>
Title: how does a uci engine draw or resign?
ThreadText: # how does a uci engine draw or resign?
  
  (Asked by: username_0 on 2017-11-11)
  
  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?
  
  **Tags:** draw, uci, resigning, claim-draw
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-11-11. Score: 7 | Accepted answer
  
  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.
  
  
  ---
  
  