Answers.Body: <p>It's possible, but you'll may need to update the source code.</p>
  
  <p>In <a href="https://github.com/lukasmonk/lucaschess/blob/843be9f57baa3f631c05181b1012df844f53c84b/Code/QT/PantallaEntMaq.py" rel="nofollow noreferrer">https://github.com/lukasmonk/lucaschess/blob/843be9f57baa3f631c05181b1012df844f53c84b/Code/QT/PantallaEntMaq.py</a></p>
  
  <pre><code>    # Resign
      lbResign = Controles.LB2P(self, _("Resign/draw by engine"))
      liResign = ((_("Very early"), -100),
                  (_("Early"), -300),
                  (_("Average"), -500),
                  (_("Late"), -800),
                  (_("Very late"), -1000),
                  (_("Never"), -9999999))
      self.cbResign = Controles.CB(self, liResign, -800)
  </code></pre>
  
  <p>The GUI will resign if the score goes below 800 cp. You can do this:</p>
  
  <pre><code>self.cbResign = Controles.CB(self, liResign, -9999999)
  </code></pre>
  
  <p>This will disable auto resign for the software.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-02-23T22:39:28.130Z
Answers.LastActivityDate: 2017-02-23T22:39:28.130Z
Answers.UserDisplayName: SmallChess
Answers.Body: <p>Chess engines will play till checkmate :)
  Only GUIs can be set to give up face to indefensible positions (+10 for B, or -10 for W).
  ARENA, for example, can be set to play till K's death.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-11-25T16:26:30.467Z
Answers.LastActivityDate: 2016-11-25T16:26:30.467Z
Answers.UserDisplayName: TiLapiot
Body: <p>I am training endgames using Lucas Chess and playing the position from FEN against Stockfish. But sometimes I would like to have engines play the position with itself. I can achieve this in Lucas Chess easilly with 'Engine Tournament'. But the problem is that there is a FEN position, in 3 moves the evaluation goes to -3 for black and the match ends because engine resigns. </p>
  
  <p>I would like to force engine to play itself till the very end so I can see the plan used to win the ending. I can of course use additional program and make a move suggested by it (eg. Scid with Stockfish too) but I would like it better to have only one program used. Is there any setting for an engine that can force it?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-10-18T11:33:45.660Z
Comments.Text: The GUI forces resignation, and I don't see a way to turn it off...
Comments.UserDisplayName: SmallChess
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-10-18T11:35:24.357Z
Comments.Text: Maybe any other GUI? But I would like straight answer, do not have time to install 20 of them ;(
Comments.UserDisplayName: Chlebik
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-10-18T11:36:02.170Z
Comments.Text: I'm sure Chessbase doesn't resign for me.
Comments.UserDisplayName: SmallChess
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-10-18T12:25:01.007Z
Comments.Text: But simple ChessBase Reader got that functionality? And I do not mean that engine resigns when playing me - I mean when engine plays against engine.
Comments.UserDisplayName: Chlebik
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-10-18T12:25:46.813Z
Comments.Text: Not sure. Someone else may be able to answer your question.
Comments.UserDisplayName: SmallChess
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-10-21T16:21:05.507Z
Comments.Text: I don't know Lucas Chess, but I would look around for a setting or option like "resign threshold". As Student says it's not the engine that's resigning, it's Lucas resigning "on behalf of" the engine.
Comments.UserDisplayName: Jeff Y
Tags: <engines><endgame><stockfish>
Title: How to force engine (eg. Stockfish) to play position till checkmate in Lucas Chess?
ThreadText: # How to force engine (eg. Stockfish) to play position till checkmate in Lucas Chess?
  
  (Asked by: username_0 on 2016-10-18)
  
  I am training endgames using Lucas Chess and playing the position from FEN against Stockfish. But sometimes I would like to have engines play the position with itself. I can achieve this in Lucas Chess easilly with 'Engine Tournament'. But the problem is that there is a FEN position, in 3 moves the evaluation goes to -3 for black and the match ends because engine resigns.
  
  I would like to force engine to play itself till the very end so I can see the plan used to win the ending. I can of course use additional program and make a move suggested by it (eg. Scid with Stockfish too) but I would like it better to have only one program used. Is there any setting for an engine that can force it?
  
  **Tags:** engines, endgame, stockfish
  
  > **Comments:**
  > **username_1**: The GUI forces resignation, and I don't see a way to turn it off...  
  > **username_0**: Maybe any other GUI? But I would like straight answer, do not have time to install 20 of them ;(  
  > **username_1**: I'm sure Chessbase doesn't resign for me.  
  > **username_0**: But simple ChessBase Reader got that functionality? And I do not mean that engine resigns when playing me - I mean when engine plays against engine.  
  > **username_1**: Not sure. Someone else may be able to answer your question.  
  > **username_2**: I don't know Lucas Chess, but I would look around for a setting or option like "resign threshold". As Student says it's not the engine that's resigning, it's Lucas resigning "on behalf of" the engine.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2017-02-23. Score: 3
  
  It's possible, but you'll may need to update the source code.
  
  In <https://github.com/lukasmonk/lucaschess/blob/843be9f57baa3f631c05181b1012df844f53c84b/Code/QT/PantallaEntMaq.py>
  
  ```
      # Resign
      lbResign = Controles.LB2P(self, _("Resign/draw by engine"))
      liResign = ((_("Very early"), -100),
                  (_("Early"), -300),
                  (_("Average"), -500),
                  (_("Late"), -800),
                  (_("Very late"), -1000),
                  (_("Never"), -9999999))
      self.cbResign = Controles.CB(self, liResign, -800)
  
  ```
  
  The GUI will resign if the score goes below 800 cp. You can do this:
  
  ```
  self.cbResign = Controles.CB(self, liResign, -9999999)
  
  ```
  
  This will disable auto resign for the software.
  
  
  ---
  
  ### Answer by username_3 on 2016-11-25. Score: 0
  
  Chess engines will play till checkmate :)
  Only GUIs can be set to give up face to indefensible positions (+10 for B, or -10 for W).
  ARENA, for example, can be set to play till K's death.
  
  
  ---
  
  