Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Chess Logic Question

Chess Logic Question

Scheduled Pinned Locked Moved The Lounge
question
37 Posts 19 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Kevin Marois

    Assume that you have a situation where the King is in check from more than one piece. Is it possible to have such a situation where you can move one piece, other than the King, and get out of check? If so, explain your answer please.

    Everything makes sense in someone's mind

    T Offline
    T Offline
    Toli Cuturicu
    wrote on last edited by
    #13

    From a (former) professional chess player (myself): NO. It is absolutely impossible. The ONLY way to get out of a double-check is to move your king. If not possible you're checkmated. (Yahoo! Chess has a bug here) Note that a triple-check is impossible in the first place.

    1 Reply Last reply
    0
    • K Kevin Marois

      Getting put into check by 2 or even 3 pieces can easily happen. The question is, can you get out of a double check with only one move (other than moving the King)?

      Everything makes sense in someone's mind

      T Offline
      T Offline
      Toli Cuturicu
      wrote on last edited by
      #14

      "Getting put into check by ... 3 pieces" is completely impossible and even absurd to imagine.

      1 Reply Last reply
      0
      • K Kevin Marois

        Assume that you have a situation where the King is in check from more than one piece. Is it possible to have such a situation where you can move one piece, other than the King, and get out of check? If so, explain your answer please.

        Everything makes sense in someone's mind

        L Offline
        L Offline
        Luc Pattyn
        wrote on last edited by
        #15

        There are three ways to get out of a simple check: capturing the checking piece, putting something in between the checking piece and the king (not if there are no empty squares in between, and also not if the attacker is a knight), and moving the king. There is basically one way to give a double check, it is always a "discovered check", and essentially the two checking actions are by different pieces and work in different directions; different pieces means you can't capture both, different directions means you can't put something in between to block both checks. On a double check, the only escape is by moving the king. Here are some examples of discovered check (using algebraic notation): (1) White Kh1, Re5, Bd4; Black Kh8. Discovered single checks would be most rook moves; double checks would be Re8 or Rh5. (2) White Kh1, Ne5, Bd4; Black Kh8. Discovered single checks would be most knight moves; double checks would be Nf7 or Ng6. (3) White Kh1, Re1, pe2; Black Ke4, pd3. The only check is a double one: pawn e2 takes d3. You can easily verify none of those can be recovered from without moving the black king. It is impossible to offer a triple check; moving a piece can cause a check by that piece itself, and by the one piece it discovers, as in the examples above. :)

        Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum

        Season's Greetings to all CPians.

        1 Reply Last reply
        0
        • D Dalek Dave

          yes. en passant.

          ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC League Table Link CCC Link[

          L Offline
          L Offline
          Luc Pattyn
          wrote on last edited by
          #16

          Nope. See my other reply. :)

          Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum

          Season's Greetings to all CPians.

          1 Reply Last reply
          0
          • L Lee Humphries

            Here's the Australian definition of Russell Crowe's Citizenship. Russell Crowe does something profoundly stupid and/or violent - New Zealander Russell Crowe hasn't done anything stupid for a while, but his last movie kinda sucked - Australasian Russell Crowe wins some award, stars in a blockbuster movie, or receives some significant accolade - Australian

            Never attribute to malice that which can be adequately explained by stupidity.

            P Offline
            P Offline
            PIEBALDconsult
            wrote on last edited by
            #17

            Sounds like Einstein's citizenship.

            1 Reply Last reply
            0
            • K Kevin Marois

              Assume that you have a situation where the King is in check from more than one piece. Is it possible to have such a situation where you can move one piece, other than the King, and get out of check? If so, explain your answer please.

              Everything makes sense in someone's mind

              P Offline
              P Offline
              PIEBALDconsult
              wrote on last edited by
              #18

              ... no substitute for a good blaster at your side. :cool:

              1 Reply Last reply
              0
              • K Kevin Marois

                Assume that you have a situation where the King is in check from more than one piece. Is it possible to have such a situation where you can move one piece, other than the King, and get out of check? If so, explain your answer please.

                Everything makes sense in someone's mind

                A Offline
                A Offline
                Abhinav S
                wrote on last edited by
                #19

                Kevin Marois wrote:

                other than the King, and get out of check?

                No. Not that I'm aware of.

                The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it. My latest tip/trick

                1 Reply Last reply
                0
                • K Kevin Marois

                  Assume that you have a situation where the King is in check from more than one piece. Is it possible to have such a situation where you can move one piece, other than the King, and get out of check? If so, explain your answer please.

                  Everything makes sense in someone's mind

                  D Offline
                  D Offline
                  dpminusa
                  wrote on last edited by
                  #20

                  Not enough detail. If would depend on the pieces putting the king in check and their positions on the board. Bishops, Knights, Queen, Castles, pawns or some combination. Castling can sometimes handle the problem but that is not one piece and does involve the king.

                  "Coding for fun and profit ... mostly fun"

                  T J E 3 Replies Last reply
                  0
                  • K Kevin Marois

                    Getting put into check by 2 or even 3 pieces can easily happen. The question is, can you get out of a double check with only one move (other than moving the King)?

                    Everything makes sense in someone's mind

                    J Offline
                    J Offline
                    Joan M
                    wrote on last edited by
                    #21

                    Yes, of course... it is called a full combo... I used it a lot in the street fighter games...

                    [www.tamelectromecanica.com] Robots, CNC and PLC machines for grinding and polishing.

                    1 Reply Last reply
                    0
                    • D dpminusa

                      Not enough detail. If would depend on the pieces putting the king in check and their positions on the board. Bishops, Knights, Queen, Castles, pawns or some combination. Castling can sometimes handle the problem but that is not one piece and does involve the king.

                      "Coding for fun and profit ... mostly fun"

                      T Offline
                      T Offline
                      Toli Cuturicu
                      wrote on last edited by
                      #22

                      You are not allowed to castle while in check anyway.

                      1 Reply Last reply
                      0
                      • K Kevin Marois

                        Assume that you have a situation where the King is in check from more than one piece. Is it possible to have such a situation where you can move one piece, other than the King, and get out of check? If so, explain your answer please.

                        Everything makes sense in someone's mind

                        S Offline
                        S Offline
                        swjam
                        wrote on last edited by
                        #23

                        yes, accidentally nudge the board.

                        ---------------------------------------------------------- Lorem ipsum dolor sit amet.

                        1 Reply Last reply
                        0
                        • K Kevin Marois

                          Assume that you have a situation where the King is in check from more than one piece. Is it possible to have such a situation where you can move one piece, other than the King, and get out of check? If so, explain your answer please.

                          Everything makes sense in someone's mind

                          T Offline
                          T Offline
                          tf_ics
                          wrote on last edited by
                          #24

                          Sure it is... Assume that two white pieces, such as, a rook & queen, check along the same file. If the black can move off the file or interpose, no double check. Note: Some define "double check" as a condition which forces the king to move. For those, the question is moot. ;-)

                          J 1 Reply Last reply
                          0
                          • D dpminusa

                            Not enough detail. If would depend on the pieces putting the king in check and their positions on the board. Bishops, Knights, Queen, Castles, pawns or some combination. Castling can sometimes handle the problem but that is not one piece and does involve the king.

                            "Coding for fun and profit ... mostly fun"

                            J Offline
                            J Offline
                            Jeff Connelly
                            wrote on last edited by
                            #25

                            dpminusa wrote:

                            Not enough detail. If would depend on the pieces putting the king in check and their positions on the board. Bishops, Knights, Queen, Castles, pawns or some combination. Castling can sometimes handle the problem but that is not one piece and does involve the king.

                            Detail doesn't matter. If it's not possible, it's not possible. It was nice of you to list chess pieces though :-) (they're called "rooks", not "castles"). And castling can't "sometimes" handle the problem, it never can. Not only would the king move making it invalid for this problem, but a standard rule of chess is that you can't castle out of check ever. The only way it would be possible would be if there were a discovered check where 2 rooks were on the same rank or file as the king, or a bishop and queen (or 2 bishops) on the same diagonal as the king. However that would be really stretching it because under normal terminology the king is not under check by both those pieces - only 1 of them. Of course if 1 of the pieces involved in the discovered check is a knight, then nothing can be done because a knight's path can never be blocked. Only 1 of the 2 pieces can be blocked, and only 1 of the 2 pieces can be captured. For those of you about to jump on my "2 bishops on same diagonal" comment, technically that is possible if you promoted a pawn to a bishop for some reason. (Normally the only reason to avoid promoting to a queen is if stalemating the opposing king by the promotion is a concern, either immediately or if you're worried about making a mistake down the road in a speed chess match.)

                            D 1 Reply Last reply
                            0
                            • T tf_ics

                              Sure it is... Assume that two white pieces, such as, a rook & queen, check along the same file. If the black can move off the file or interpose, no double check. Note: Some define "double check" as a condition which forces the king to move. For those, the question is moot. ;-)

                              J Offline
                              J Offline
                              Jeff Connelly
                              wrote on last edited by
                              #26

                              tf_ics wrote:

                              Sure it is... Assume that two white pieces, such as, a rook & queen, check along the same file. If the black can move off the file or interpose, no double check.

                              As I wrote in my other post, that is not considered "double check" by standard terminology. Only 1 piece has put the king in check. Double check is not "defined" as a condition which forces the king to move, but simply that double check is 2 checks from 2 pieces in 2 different directions, and it so happens that the only way out of this is to move the king. I assume there's a typo in your post, where you said "if the black can move off the file or interpose." If that was supposed to be "if the black king can move off the file or another piece can interpose", then there's a third way out of the situation you described. For example if you have 2 connected rooks and one of them gives discovered check, then by capturing that rook you are simultaneously blocking the other rook from giving check. This sounds like a homework problem or something, and I wonder if the teacher might be expecting an answer when he doesn't fully understand the problem or rules.

                              modified on Wednesday, December 29, 2010 1:57 PM

                              1 Reply Last reply
                              0
                              • K Kevin Marois

                                Assume that you have a situation where the King is in check from more than one piece. Is it possible to have such a situation where you can move one piece, other than the King, and get out of check? If so, explain your answer please.

                                Everything makes sense in someone's mind

                                J Offline
                                J Offline
                                JLengi
                                wrote on last edited by
                                #27

                                If you are in double-check, then it is via a discovered check in which your opponent puts you in check from both the piece that he moves and another piece that is unblocked by the move. If there is a way out other than moving your king, then it requires capturing one of the checking pieces and blocking the other checking piece in the same move. If you capture one checking piece and block another checking piece in the same move, then you are capturing a piece in one space while moving to a different space. If you are capturing a piece in one space while moving to a different space, then it is en passant. If you capture en passant, then your opponent's previous move was advancing a pawn two spaces from its initial position. If your opponent introduced a double-check by moving a pawn, then that pawn must be one of the pieces that is attacking your king. If an opposing pawn is attacking your king, then your king must be in one of two positions. There is no way that your opponent could introduce a discovered check upon either of your king's possible positions from any other position that was previously blocked by the pawn that he moved. Therefore, if you are in double-check, then it is impossible to get out of check by moving any piece other than your king.

                                J 1 Reply Last reply
                                0
                                • J JLengi

                                  If you are in double-check, then it is via a discovered check in which your opponent puts you in check from both the piece that he moves and another piece that is unblocked by the move. If there is a way out other than moving your king, then it requires capturing one of the checking pieces and blocking the other checking piece in the same move. If you capture one checking piece and block another checking piece in the same move, then you are capturing a piece in one space while moving to a different space. If you are capturing a piece in one space while moving to a different space, then it is en passant. If you capture en passant, then your opponent's previous move was advancing a pawn two spaces from its initial position. If your opponent introduced a double-check by moving a pawn, then that pawn must be one of the pieces that is attacking your king. If an opposing pawn is attacking your king, then your king must be in one of two positions. There is no way that your opponent could introduce a discovered check upon either of your king's possible positions from any other position that was previously blocked by the pawn that he moved. Therefore, if you are in double-check, then it is impossible to get out of check by moving any piece other than your king.

                                  J Offline
                                  J Offline
                                  Jeff Connelly
                                  wrote on last edited by
                                  #28

                                  JLengi wrote:

                                  If you are capturing a piece in one space while moving to a different space, then it is en passant. If you capture en passant, then your opponent's previous move was advancing a pawn two spaces from its initial position. If your opponent introduced a double-check by moving a pawn, then that pawn must be one of the pieces that is attacking your king.

                                  Not quite sure what you're implying here, but it is possible to capture a pawn en passant, which delivers a double discovered check, without your capturing pawn giving check. Wikipedia shows an example of this http://en.wikipedia.org/wiki/Double_check[^]

                                  J 1 Reply Last reply
                                  0
                                  • J Jeff Connelly

                                    JLengi wrote:

                                    If you are capturing a piece in one space while moving to a different space, then it is en passant. If you capture en passant, then your opponent's previous move was advancing a pawn two spaces from its initial position. If your opponent introduced a double-check by moving a pawn, then that pawn must be one of the pieces that is attacking your king.

                                    Not quite sure what you're implying here, but it is possible to capture a pawn en passant, which delivers a double discovered check, without your capturing pawn giving check. Wikipedia shows an example of this http://en.wikipedia.org/wiki/Double_check[^]

                                    J Offline
                                    J Offline
                                    JLengi
                                    wrote on last edited by
                                    #29

                                    It is possible to deliver a double-check en passant. But it is not possible to get out of double-check en passant. If your opponent's last move was en passant, then it is impossible for your next move to be en passant.

                                    J 1 Reply Last reply
                                    0
                                    • J JLengi

                                      It is possible to deliver a double-check en passant. But it is not possible to get out of double-check en passant. If your opponent's last move was en passant, then it is impossible for your next move to be en passant.

                                      J Offline
                                      J Offline
                                      Jeff Connelly
                                      wrote on last edited by
                                      #30

                                      JLengi wrote:

                                      It is possible to deliver a double-check en passant. But it is not possible to get out of double-check en passant.

                                      I was saying it's possible to deliver a double check en passant even without the pawn giving check. But with regard to your second point, I'd have to agree that's true.

                                      1 Reply Last reply
                                      0
                                      • J Jeff Connelly

                                        dpminusa wrote:

                                        Not enough detail. If would depend on the pieces putting the king in check and their positions on the board. Bishops, Knights, Queen, Castles, pawns or some combination. Castling can sometimes handle the problem but that is not one piece and does involve the king.

                                        Detail doesn't matter. If it's not possible, it's not possible. It was nice of you to list chess pieces though :-) (they're called "rooks", not "castles"). And castling can't "sometimes" handle the problem, it never can. Not only would the king move making it invalid for this problem, but a standard rule of chess is that you can't castle out of check ever. The only way it would be possible would be if there were a discovered check where 2 rooks were on the same rank or file as the king, or a bishop and queen (or 2 bishops) on the same diagonal as the king. However that would be really stretching it because under normal terminology the king is not under check by both those pieces - only 1 of them. Of course if 1 of the pieces involved in the discovered check is a knight, then nothing can be done because a knight's path can never be blocked. Only 1 of the 2 pieces can be blocked, and only 1 of the 2 pieces can be captured. For those of you about to jump on my "2 bishops on same diagonal" comment, technically that is possible if you promoted a pawn to a bishop for some reason. (Normally the only reason to avoid promoting to a queen is if stalemating the opposing king by the promotion is a concern, either immediately or if you're worried about making a mistake down the road in a speed chess match.)

                                        D Offline
                                        D Offline
                                        dpminusa
                                        wrote on last edited by
                                        #31

                                        I am not sure what your anger is about. It does not seem to be appropriate on a forum that hopes to build interest and membership. At one point I played competitive chess. A slang term for rooks is castles (many people I knew called the rooks castles). You are right that you cannot castle out of check. I did not read the question that check was present but that check was eminent. Lighten up, dude.

                                        "Coding for fun and profit ... mostly fun"

                                        J 1 Reply Last reply
                                        0
                                        • D dpminusa

                                          I am not sure what your anger is about. It does not seem to be appropriate on a forum that hopes to build interest and membership. At one point I played competitive chess. A slang term for rooks is castles (many people I knew called the rooks castles). You are right that you cannot castle out of check. I did not read the question that check was present but that check was eminent. Lighten up, dude.

                                          "Coding for fun and profit ... mostly fun"

                                          J Offline
                                          J Offline
                                          Jeff Connelly
                                          wrote on last edited by
                                          #32

                                          dpminusa wrote:

                                          I am not sure what your anger is about.

                                          I'm not sure why you picked up on anger. I simply replied to the inaccuracies in your post. You might have played "competitive" chess, whatever you mean by that, but it doesn't make your post any more authoritative. The original question was relatively logical and technical in nature - effectively a math problem - and I think you'll find on any technical forum if you post an incorrect answer you're going to get corrected. At least I hope so - that's really one of the main reasons for having a public forum - so answers can get peer reviewed and corrected, making the whole process much more valuable. I'm sure if you asked a question here and got conflicting answers, you'd appreciate somebody clearing up the discrepancies. So.... lighten up dude :)

                                          D 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups