Difference between revisions of "Queen versus Pawn"

From Chessprogramming wiki
Jump to: navigation, search
Line 10: Line 10:
 
The [[Draw|draw]] motive is a [[stalemate|stalemate]] threat, after the defending king blocks its own pawn after a queen check on the neighbouring knight file, so that the attacking king can't come closer.
 
The [[Draw|draw]] motive is a [[stalemate|stalemate]] threat, after the defending king blocks its own pawn after a queen check on the neighbouring knight file, so that the attacking king can't come closer.
 
A [[Distance|Chebyshev Distance]] of at least four to the [[Promotion Square|promotion square]] with a [[Manhattan-Distance|Manhattan distance]] less than eight for the attacking king is necessary to win that game (<span style="background-color: #c0ffc0;">green area below</span>).
 
A [[Distance|Chebyshev Distance]] of at least four to the [[Promotion Square|promotion square]] with a [[Manhattan-Distance|Manhattan distance]] less than eight for the attacking king is necessary to win that game (<span style="background-color: #c0ffc0;">green area below</span>).
 +
However, the attacking king may reduce the distance by [[Discovered Check|discovered check]]
 
While implementing this pattern inside a [[Interior Node Recognizer|interior node recognizer]], one has to take care that with the king in the corner (i.e. black king on a1), the queen has no mate in one (i.e. on c1).
 
While implementing this pattern inside a [[Interior Node Recognizer|interior node recognizer]], one has to take care that with the king in the corner (i.e. black king on a1), the queen has no mate in one (i.e. on c1).
 
+
{|
<fentt border="double" style="font-size:24pt">...Q..../....K.../......../(....)..../(.....).../(.....).../(pk...).../(kk...)...</fentt>
+
| <fentt border="double" style="font-size:24pt">...Q..../......../......../(....)K.../(.....).../(.....).../(pk...).../(.k...)...</fentt>
 +
| <fentt border="double" style="font-size:24pt">.......Q/......../......../(....)K.../(.....).../(.....).../(pk...).../(.....)...</fentt>
 +
|-
 +
| Draw
 +
| Win due to [[Discovered Check|discovered check]]
 +
|}
 
<span id="BishopPawn7"></span>
 
<span id="BishopPawn7"></span>
 
=Bishop Pawn on 7th=  
 
=Bishop Pawn on 7th=  
Line 20: Line 26:
 
and the diagonal neighbouring square on the lee-side one rank back (i.e. for black pawn on c2, [[Distance|&#977;(&#9812;,b3)]]).  
 
and the diagonal neighbouring square on the lee-side one rank back (i.e. for black pawn on c2, [[Distance|&#977;(&#9812;,b3)]]).  
 
<ref>[[Interior Node Recognizer]] implemented in [[IsiChess]]</ref>
 
<ref>[[Interior Node Recognizer]] implemented in [[IsiChess]]</ref>
 +
* Attacking king may reduce distance by [[Discovered Check|discovered check]]
 
* With a <span style="background-color: #c0ffc0;">distance below two</span> to any of these critical squares, the game is won.  
 
* With a <span style="background-color: #c0ffc0;">distance below two</span> to any of these critical squares, the game is won.  
 
* A <span style="background-color: #cc80cc;">distance of two</span> to any of these critical squares is not sufficient, if the defending king occupies the corner square (i.e. a1), or the 7th/8th (1st/2nd) rank on the neighbouring knight file (i.e. b1, b2).
 
* A <span style="background-color: #cc80cc;">distance of two</span> to any of these critical squares is not sufficient, if the defending king occupies the corner square (i.e. a1), or the 7th/8th (1st/2nd) rank on the neighbouring knight file (i.e. b1, b2).
 +
* Exception: attacking king can immediately capture pawn
 
* A distance of two is required to win the game otherwise
 
* A distance of two is required to win the game otherwise
 
+
{|
<fentt border="double" style="font-size:24pt">...Q..../....K.../......../{....}..../(...){....}./(.+....){.}./(.kp.+.){.}./{kk.}(...){.}.</fentt>
+
<fentt border="double" style="font-size:24pt">...Q..../......../......../{....}..../(...){K...}./(.+....){.}./(.kp.+.){.}./{kk.}(...){.}.</fentt>
 
+
|  <fentt border="double" style="font-size:24pt">.......Q/......../......../{....}..../(...){K...}./(.+....){.}./(.kp.+.){.}./{k..}(...){.}.</fentt>
 +
|-
 +
| Draw
 +
| Win due to [[Discovered Check|discovered check]]
 +
|}
 
=See also=
 
=See also=
 
* [[Draw Evaluation]]
 
* [[Draw Evaluation]]

Revision as of 20:33, 25 July 2020

Home * Evaluation * Game Phases * Endgame * Queen versus Pawn

The Queen versus Pawn Endgame (KQKP) is usually won by the queen side, in particular if the queen can occupy the pawn's frontspan. Even if the pawn is ready to promote, supported by its own king, the technique is to come closer with the attacking king, after the defending king was forced to block the promotion square due to a queen check. However, with rook and bishop pawns on the seventh (second) rank, stalemate is looming with the defending king in the corner. There are even some rare cases with center and knight pawns where the attacking king hinders its own queen to give check [1]. This endgame with pawn on the 7th rank often occurs after a KPKP pawn race with unstoppable passers, where the cardinality of their frontspans differs by two with the defending side to move.

Rook Pawn on 7th

The draw motive is a stalemate threat, after the defending king blocks its own pawn after a queen check on the neighbouring knight file, so that the attacking king can't come closer. A Chebyshev Distance of at least four to the promotion square with a Manhattan distance less than eight for the attacking king is necessary to win that game (green area below). However, the attacking king may reduce the distance by discovered check While implementing this pattern inside a interior node recognizer, one has to take care that with the king in the corner (i.e. black king on a1), the queen has no mate in one (i.e. on c1).

    
    
    
    
    
    
    
    
       
        
        
       
        
        
      
       
   ♕    
        
        
    ♔   
        
        
♟♚      
 ♚      
    
    
    
    
    
    
    
    
       
        
        
       
        
        
      
        
       ♕
        
        
    ♔   
        
        
♟♚      
        
Draw Win due to discovered check

Bishop Pawn on 7th

A similar draw motive occurs here with stalemate after the queen captured the bishop pawn. The winning area of the attacking king requires a bit more calculation. Critical squares for the Chebyshev Distance are on the same rank on the luff-side two squares apart (i.e. for black pawn on c2, ϑ(♔,e2)), and the diagonal neighbouring square on the lee-side one rank back (i.e. for black pawn on c2, ϑ(♔,b3)). [2]

  • Attacking king may reduce distance by discovered check
  • With a distance below two to any of these critical squares, the game is won.
  • A distance of two to any of these critical squares is not sufficient, if the defending king occupies the corner square (i.e. a1), or the 7th/8th (1st/2nd) rank on the neighbouring knight file (i.e. b1, b2).
  • Exception: attacking king can immediately capture pawn
  • A distance of two is required to win the game otherwise
    
    
    
    
    
    
    
    
       
        
        
        
       
        
      
      
   ♕    
        
        
        
   ♔    
 •      
 ♚♟ •   
♚♚      
    
    
    
    
    
    
    
    
       
        
        
        
       
        
      
       
       ♕
        
        
        
   ♔    
 •      
 ♚♟ •   
♚       
Draw Win due to discovered check

See also

Publications

Forum Posts

External Links

References

Up one Level