If a pawn promotes to a checking piece while also revealing a check, it is a double check?Is there a chess engine with divide perft for captures only?C++ vs Java Engine move generation performancePossible chess positon after X ply?Getting started in position-counting by computerHow to write a simple chess engine to statically evaluate a position?How can minimax chess engines do alpha-beta pruning without reaching the final positions?What is the longest possible sequence of double checks?
Ruby language curious integer arithmetic : (-5/2) != -(5/2)
Making Eggs for 50 people
Can an integer optimization problem be convex?
How can an attacker use robots.txt?
Is there any iPhone SE out there with 3D Touch?
Subverting the emotional woman and stoic man trope
Why did UK NHS pay for homeopathic treatments?
What's the next step in this Unequal (Futoshiki) puzzle?
Why does NASA publish all the results/data it gets?
Detect duplicates without exposing underlying data
Guitar tuning (EADGBE), "perfect" fourths?
Is the mass of paint relevant in rocket design?
Would Taiwan and China's dispute be solved if Taiwan gave up being the Republic of China?
Does "as soon as" imply simultaneity?
Is it a good idea to leave minor world details to the reader's imagination?
Is it really necessary to have a four hour meeting in Sprint planning?
Could Apollo astronauts see city lights from the moon?
What's the lowest risk highest reward I can invest in for 5 years?
When is it acceptable to write a bad letter of recommendation?
To what extent is it worthwhile to report check fraud / refund scams?
How to deal with a Homophobic PC
A food item only made possible by time-freezing storage?
Is this Portent-like spell balanced?
How to discover (standard) function names?
If a pawn promotes to a checking piece while also revealing a check, it is a double check?
Is there a chess engine with divide perft for captures only?C++ vs Java Engine move generation performancePossible chess positon after X ply?Getting started in position-counting by computerHow to write a simple chess engine to statically evaluate a position?How can minimax chess engines do alpha-beta pruning without reaching the final positions?What is the longest possible sequence of double checks?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I'm writing a chess engine just for fun, and during the validation of movement generation, I found some positions in Perft Results that differ from what my engine is producing.
As an example, take the below position.
[FEN "r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq - 0 1"]
I found in the Chess programming wiki, the number of possible positions in depth 5 is 193690690, and my program matches this value.
However, regarding the number of possible double checks, my program found 8 more positions. The Perft Results from the Wiki indicate a total of 2637, while I found 2645.
I don't know what to think. Maybe the Perft Result from the Wiki does not consider positions where a pawn promotes with check whilst revealing a check, aka a discovered check. But there are only 6 moves where a pawn promotion results in a double check (3 positions, where the pawn may promote to queen or rook). Are the positions from Wiki wrong?
If someone wants to look at the positions, they can be found here on Google Drive.
engines programming pawn-promotion performance double-check
add a comment
|
I'm writing a chess engine just for fun, and during the validation of movement generation, I found some positions in Perft Results that differ from what my engine is producing.
As an example, take the below position.
[FEN "r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq - 0 1"]
I found in the Chess programming wiki, the number of possible positions in depth 5 is 193690690, and my program matches this value.
However, regarding the number of possible double checks, my program found 8 more positions. The Perft Results from the Wiki indicate a total of 2637, while I found 2645.
I don't know what to think. Maybe the Perft Result from the Wiki does not consider positions where a pawn promotes with check whilst revealing a check, aka a discovered check. But there are only 6 moves where a pawn promotion results in a double check (3 positions, where the pawn may promote to queen or rook). Are the positions from Wiki wrong?
If someone wants to look at the positions, they can be found here on Google Drive.
engines programming pawn-promotion performance double-check
add a comment
|
I'm writing a chess engine just for fun, and during the validation of movement generation, I found some positions in Perft Results that differ from what my engine is producing.
As an example, take the below position.
[FEN "r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq - 0 1"]
I found in the Chess programming wiki, the number of possible positions in depth 5 is 193690690, and my program matches this value.
However, regarding the number of possible double checks, my program found 8 more positions. The Perft Results from the Wiki indicate a total of 2637, while I found 2645.
I don't know what to think. Maybe the Perft Result from the Wiki does not consider positions where a pawn promotes with check whilst revealing a check, aka a discovered check. But there are only 6 moves where a pawn promotion results in a double check (3 positions, where the pawn may promote to queen or rook). Are the positions from Wiki wrong?
If someone wants to look at the positions, they can be found here on Google Drive.
engines programming pawn-promotion performance double-check
I'm writing a chess engine just for fun, and during the validation of movement generation, I found some positions in Perft Results that differ from what my engine is producing.
As an example, take the below position.
[FEN "r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq - 0 1"]
I found in the Chess programming wiki, the number of possible positions in depth 5 is 193690690, and my program matches this value.
However, regarding the number of possible double checks, my program found 8 more positions. The Perft Results from the Wiki indicate a total of 2637, while I found 2645.
I don't know what to think. Maybe the Perft Result from the Wiki does not consider positions where a pawn promotes with check whilst revealing a check, aka a discovered check. But there are only 6 moves where a pawn promotion results in a double check (3 positions, where the pawn may promote to queen or rook). Are the positions from Wiki wrong?
If someone wants to look at the positions, they can be found here on Google Drive.
engines programming pawn-promotion performance double-check
engines programming pawn-promotion performance double-check
edited 1 hour ago
Welyab Paula
asked 11 hours ago
Welyab PaulaWelyab Paula
363 bronze badges
363 bronze badges
add a comment
|
add a comment
|
2 Answers
2
active
oldest
votes
Yes, a double check is when two pieces give check at the same time. It doesn't matter how you got to that position. As to whether there's an error on that wiki, it's probably best to try to ask its author. Maybe they can provide the full list of positions for you to compare.
I can think of two ways of giving double check while promoting. One is where you have say the black king in front of the white pawn, and a white queen or rook behind the pawn, and the pawn promotes with a capture, ending up as a new white queen or rook next to the black king. The other is where say the black king is on the seventh rank, white has a rook or queen on the other side of the pawn, and White promotes to a knight, queen or bishop giving check.
Thank you for the feedback. The author of perft results is Peter McKenzie, worker of Google. I found him LinkedIn profile and send him a message. Maybe he can answer me.
– Welyab Paula
1 hour ago
add a comment
|
Yes, the case you mentioned would also qualify as a double check.
But it also depends on what your definitions are. If the Perft result does consider that to not be a double check, it doesn't mean you have to abide by it.
add a comment
|
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "435"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fchess.stackexchange.com%2fquestions%2f26415%2fif-a-pawn-promotes-to-a-checking-piece-while-also-revealing-a-check-it-is-a-dou%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Yes, a double check is when two pieces give check at the same time. It doesn't matter how you got to that position. As to whether there's an error on that wiki, it's probably best to try to ask its author. Maybe they can provide the full list of positions for you to compare.
I can think of two ways of giving double check while promoting. One is where you have say the black king in front of the white pawn, and a white queen or rook behind the pawn, and the pawn promotes with a capture, ending up as a new white queen or rook next to the black king. The other is where say the black king is on the seventh rank, white has a rook or queen on the other side of the pawn, and White promotes to a knight, queen or bishop giving check.
Thank you for the feedback. The author of perft results is Peter McKenzie, worker of Google. I found him LinkedIn profile and send him a message. Maybe he can answer me.
– Welyab Paula
1 hour ago
add a comment
|
Yes, a double check is when two pieces give check at the same time. It doesn't matter how you got to that position. As to whether there's an error on that wiki, it's probably best to try to ask its author. Maybe they can provide the full list of positions for you to compare.
I can think of two ways of giving double check while promoting. One is where you have say the black king in front of the white pawn, and a white queen or rook behind the pawn, and the pawn promotes with a capture, ending up as a new white queen or rook next to the black king. The other is where say the black king is on the seventh rank, white has a rook or queen on the other side of the pawn, and White promotes to a knight, queen or bishop giving check.
Thank you for the feedback. The author of perft results is Peter McKenzie, worker of Google. I found him LinkedIn profile and send him a message. Maybe he can answer me.
– Welyab Paula
1 hour ago
add a comment
|
Yes, a double check is when two pieces give check at the same time. It doesn't matter how you got to that position. As to whether there's an error on that wiki, it's probably best to try to ask its author. Maybe they can provide the full list of positions for you to compare.
I can think of two ways of giving double check while promoting. One is where you have say the black king in front of the white pawn, and a white queen or rook behind the pawn, and the pawn promotes with a capture, ending up as a new white queen or rook next to the black king. The other is where say the black king is on the seventh rank, white has a rook or queen on the other side of the pawn, and White promotes to a knight, queen or bishop giving check.
Yes, a double check is when two pieces give check at the same time. It doesn't matter how you got to that position. As to whether there's an error on that wiki, it's probably best to try to ask its author. Maybe they can provide the full list of positions for you to compare.
I can think of two ways of giving double check while promoting. One is where you have say the black king in front of the white pawn, and a white queen or rook behind the pawn, and the pawn promotes with a capture, ending up as a new white queen or rook next to the black king. The other is where say the black king is on the seventh rank, white has a rook or queen on the other side of the pawn, and White promotes to a knight, queen or bishop giving check.
answered 10 hours ago
itubitub
5,5271 gold badge13 silver badges33 bronze badges
5,5271 gold badge13 silver badges33 bronze badges
Thank you for the feedback. The author of perft results is Peter McKenzie, worker of Google. I found him LinkedIn profile and send him a message. Maybe he can answer me.
– Welyab Paula
1 hour ago
add a comment
|
Thank you for the feedback. The author of perft results is Peter McKenzie, worker of Google. I found him LinkedIn profile and send him a message. Maybe he can answer me.
– Welyab Paula
1 hour ago
Thank you for the feedback. The author of perft results is Peter McKenzie, worker of Google. I found him LinkedIn profile and send him a message. Maybe he can answer me.
– Welyab Paula
1 hour ago
Thank you for the feedback. The author of perft results is Peter McKenzie, worker of Google. I found him LinkedIn profile and send him a message. Maybe he can answer me.
– Welyab Paula
1 hour ago
add a comment
|
Yes, the case you mentioned would also qualify as a double check.
But it also depends on what your definitions are. If the Perft result does consider that to not be a double check, it doesn't mean you have to abide by it.
add a comment
|
Yes, the case you mentioned would also qualify as a double check.
But it also depends on what your definitions are. If the Perft result does consider that to not be a double check, it doesn't mean you have to abide by it.
add a comment
|
Yes, the case you mentioned would also qualify as a double check.
But it also depends on what your definitions are. If the Perft result does consider that to not be a double check, it doesn't mean you have to abide by it.
Yes, the case you mentioned would also qualify as a double check.
But it also depends on what your definitions are. If the Perft result does consider that to not be a double check, it doesn't mean you have to abide by it.
answered 1 hour ago
Inertial IgnoranceInertial Ignorance
6,9445 silver badges16 bronze badges
6,9445 silver badges16 bronze badges
add a comment
|
add a comment
|
Thanks for contributing an answer to Chess Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fchess.stackexchange.com%2fquestions%2f26415%2fif-a-pawn-promotes-to-a-checking-piece-while-also-revealing-a-check-it-is-a-dou%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown