by Fang_ · 5y ago · 0 comments
> They're all legal.
But then, looking at the final position[1], black is in check by the knight on b2. If white's pawn can be captured en passant, this implies the knight was not the most recent move, so the black king was in check on the previous turn as well.
It's obviously not legal to remain in check. What am I missing?
[1] https://raw.githubusercontent.com/tromp/ChessPositionRanking...
I missed something, and clearly misclassified this position, leaving only 51 legal in the 1k set (and only 537 in the 10k set).
Oops. It's embarrassing since I did pay attention to the en-passant positions in the 919-93 positions not from the smaller 1k sample, such as this one: https://github.com/tromp/ChessPositionRanking/issues/916
I'll have to make some changes to my README. Meanwhile, congratulations on spotting the error. And I'll be sure to mention you in the eventual publication.
This underscores the need to back up my classification with proof games...
In fact it was closed as
https://github.com/tromp/ChessPositionRanking/issues/915
So I had classified it correctly, but only AFTER making the diagrams for the 1k sample.
That means the 538 count for the 10k sample still stands. Good. Less things to fix on the README :-)
That changes the prospective number of legal positions to 539...
[1] https://github.com/tromp/ChessPositionRanking/issues/794
It's funny-- except for Tenoke all the responses so far boil down to essentially this.
I'll try again.
Assume an alternate reality where this incredibly important rule doesn't exist. In it, the other player simply takes the king on the next turn from a neophyte who didn't realize they are still in check.
What bad things would happen as a result of the non-existence of the gratuitous rule?
And don't just speculate based on the zero cost of posting on HN. Give me the real reason based on the history of the creation of chess rules and/or the documented behavior of real chess players in history.
This is not merely an alternate reality; this is effectively the reality of blitz chess, where capturing the king is a way of claiming victory by declaring that the opponent made an illegal move when they didn't move out of check. In blitz chess you do not have the right to correct illegal moves after the opponent points them out.
https://www.reddit.com/r/chess/comments/jrvmk7/capture_the_k...
Think about actual, medieval monarchs in their castles, holding literal absolute power over everyone. If someone were to invent a board game featuring a King, and the King were to be made aware that you moved him into danger and got him captured, he might have your head.
Chess would be a game of gotcha instead of the game it currently is.
The rule is there to support the preferences of the kind of people who think chess is fun.