user18337: I have used many chess engines, especially Stockfish and I want to ask you, if it possible to change its mode to the most complicated one. What I mean:
Now, most engines work as following:
1) Mate the opponent asap.
2) If it is not possible to mate him, then draw him asap.
3) If it is not possible to draw him, then delay its mate as longer as you can.
Or something similar, I don't know. So my question is if it can change, so anytime engine will choose this move that makes the game as complicated as possible.
An example: Imagine we are in a position that engine can choose two moves: A or B. 
The A one, is the best defense and if the opponent is engine can mate us in minimum 30 moves. But also the win by a simple human of 2000 Elo is possible. Just applying simple theory. In 50-60 moves, human also can mate.
The B one is not good, an engine can mate us in 10 moves but this combination of 10 moves is completely unique and it is very difficult to be seen by a human, neither by Carlsen. If a mistake will be done, then we will win the opponent.
Simply said, the first move is the best one if the engine plays against an engine because it delays the mate much, but if it plays against a human it is very simple to lose. The second move is bad if the engine plays against an engine because it can be mated in 10 moves, but if it plays against a human, even against Carlsen, it is a bluff move, because this combination of the next 10 moves is completely invisible by humans and a mistake is 100% sure to be done, so engine will win human.
Is it possible to change this mode in engines? Or can an engine detect whether it plays against engine or human and adjust its moves? So if it loses and plays against human, it can choose the most complicated moves, hoping for a human-blundering...?

user825: You are talking about playing suboptimal moves for bluffing. Stockfish is not good at that... Chess programming theories are no good because it’s hard to define a complicated position. There were research articles on this topic but it’s still an unsolved problem.
I believe you will need a good mathematics model. Stockfish doesn’t have it.

18337: <p>I have used many chess engines, especially Stockfish and I want to ask you, if it possible to change its mode to the most complicated one. What I mean:</p>

<p>Now, most engines work as following:
1) Mate the opponent asap.
2) If it is not possible to mate him, then draw him asap.
3) If it is not possible to draw him, then delay its mate as longer as you can.</p>

<p>Or something similar, I don't know. So my question is if it can change, so anytime engine will choose this move that makes the game as complicated as possible.</p>

<p>An example: Imagine we are in a position that engine can choose two moves: A or B. </p>

<p>The A one, is the best defense and if the opponent is engine can mate us in minimum 30 moves. But also the win by a simple human of 2000 Elo is possible. Just applying simple theory. In 50-60 moves, human also can mate.</p>

<p>The B one is not good, an engine can mate us in 10 moves but this combination of 10 moves is completely unique and it is very difficult to be seen by a human, neither by Carlsen. If a mistake will be done, then we will win the opponent.</p>

<p>Simply said, the first move is the best one if the engine plays against an engine because it delays the mate much, but if it plays against a human it is very simple to lose. The second move is bad if the engine plays against an engine because it can be mated in 10 moves, but if it plays against a human, even against Carlsen, it is a bluff move, because this combination of the next 10 moves is completely invisible by humans and a mistake is 100% sure to be done, so engine will win human.</p>

<p>Is it possible to change this mode in engines? Or can an engine detect whether it plays against engine or human and adjust its moves? So if it loses and plays against human, it can choose the most complicated moves, hoping for a human-blundering...?</p>
 825: <p>You are talking about playing suboptimal moves for bluffing. Stockfish is not good at that... Chess programming theories are no good because it’s hard to define a complicated position. There were research articles on this topic but it’s still an unsolved problem.</p>

<p>I believe you will need a good mathematics model. Stockfish doesn’t have it.</p>
