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?What is the longest possible sequence of double checks?Program that will give all available moves given the state of a board, including check
Germany's Ladenschlussgesetz in comparison to a debatable law in Israel
Stack Exchange Answerer
How to (or should one) distinguish between lowercase and uppercase alphabets orally when lecturing?
Can I apply for a passport in the country I'm in so I can travel to my home country?
Mixing 3.5 hdd and 2.5 hdd in LSI RAID 1
Can Alice win the game?
Will transcribing music improve my ability to play a song by ear?
What's the girl's name?
Feasible explanation to the continued existence of dangerous magical creatures in a modern setting
Get rows only joined to certain types of row in another table
Sold item on eBay, buyer wants it to be delivered to another country, and pay by bank transfer
Why is the sample variance of a Sample Average Approximation calculated in this way?
Is there any specific reason why Delta Air Lines doesn't have a callsign that doesn't conflict with the NATO Phonetic Alphabet?
Dice game with rules and three dice
How to resolve the transporter conundrum in a FTL spaceship?
How did the star tracker on the Corona (Key Hole) satellite work?
Frictional force doesn't depend on surface area, but why does this application work?
Why is/was the National Liberal Party of Romania opposed to Catholic & Hungarian school when they support a German-minority president?
Writing style in academic English
My code seems to be a train wreck
How does a Mandalorian eat food if he never takes his helmet off?
What is the point of teaching Coding and robotics to kids as young as 6 years old?
Am I being used by my supervisor?
Pay everything now or gradually?
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?What is the longest possible sequence of double checks?Program that will give all available moves given the state of a board, including check
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
.everyonelovesstackoverflowposition:absolute;height:1px;width:1px;opacity:0;top:0;left:0;pointer-events:none;
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
Yes, a double check is a double check.
– Inertial Ignorance
Sep 28 at 22:58
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 Sep 20 at 22:33
Welyab Paula
asked Sep 20 at 12:54
Welyab PaulaWelyab Paula
1354 bronze badges
1354 bronze badges
Yes, a double check is a double check.
– Inertial Ignorance
Sep 28 at 22:58
add a comment
|
Yes, a double check is a double check.
– Inertial Ignorance
Sep 28 at 22:58
Yes, a double check is a double check.
– Inertial Ignorance
Sep 28 at 22:58
Yes, a double check is a double check.
– Inertial Ignorance
Sep 28 at 22:58
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.
1
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
Sep 20 at 22:30
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.
1
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
Sep 20 at 22:30
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.
1
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
Sep 20 at 22:30
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 Sep 20 at 13:17
itubitub
6,9341 gold badge19 silver badges37 bronze badges
6,9341 gold badge19 silver badges37 bronze badges
1
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
Sep 20 at 22:30
add a comment
|
1
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
Sep 20 at 22:30
1
1
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
Sep 20 at 22:30
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
Sep 20 at 22:30
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 Sep 20 at 22:14
Inertial IgnoranceInertial Ignorance
7,9355 silver badges19 bronze badges
7,9355 silver badges19 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
Yes, a double check is a double check.
– Inertial Ignorance
Sep 28 at 22:58