{"course":{"id":"basic-checkmates","trackId":"checkmates","title":"Basic Checkmating Techniques","description":"The full mating methods: build and shrink the box, bring your king, dodge stalemate, finish on the edge. Being a whole queen up with no mate is not the vibe.","lines":[{"id":"rook-build-the-barrier","name":"Rook Mate — Build the Box","techniqueSummary":"Hold the rook wall, walk your king forward, and squeeze the box one rank at a time toward the board edge.","completionText":"Well done! You now know how to checkmate with a rook and king.","classicCompletionText":"Checkmate.\n\nHold the wall, bring your king, squeeze one rank at a time, and use a waiting move when the king needs to be pushed into the corner.","distinctnessNote":"A full rook-mate box conversion: preserve the barrier with sideways waits, approach with the king, tighten the wall on the sixth and seventh ranks, take opposition, and mate on the back rank.","startFen":"8/8/3k4/5R2/4K3/8/8/8 w - - 0 1","sideToMove":"white","expectedResult":"win","mainLine":[{"ply":1,"mover":"white","moveSan":"Re5","moveUci":"f5e5","fenBefore":"8/8/3k4/5R2/4K3/8/8/8 w - - 0 1","fenAfter":"8/8/3k4/4R3/4K3/8/8/8 b - - 1 1","coachText":"We're White and we want checkmate with rook and king. It works like the queen-and-king mate.\n\nWe build a box until the black king has no more squares left. We use our rook to slowly shrink the box and eventually trap the king in the corner.\n\nPlay Re5.","classicCoachText":"Start with the rook wall.\n\nMoving sideways keeps the fifth-rank barrier intact and leaves the defender boxed above it.\n\nPlay Re5.","acceptedMoves":["f5e5","f5f6","f5f7","f5f8","f5g5","f5h5","f5f4","f5f3","f5f2","f5f1","f5d5","f5b5","f5a5","e4f4","e4f3","e4e3","e4d3","e4d4"]},{"ply":2,"mover":"black","moveSan":"Kc6","moveUci":"d6c6","fenBefore":"8/8/3k4/4R3/4K3/8/8/8 b - - 1 1","fenAfter":"8/8/2k5/4R3/4K3/8/8/8 w - - 2 2"},{"ply":3,"mover":"white","moveSan":"Rd5","moveUci":"e5d5","fenBefore":"8/8/2k5/4R3/4K3/8/8/8 w - - 2 2","fenAfter":"8/8/2k5/3R4/4K3/8/8/8 b - - 3 2","coachText":"Always ask yourself if you can shrink the box.\n\nIn this case, we can.\n\nPlay Rd5.","classicCoachText":"Make another sideways rook move without releasing the wall.\n\nThis waiting move sends the king further toward the edge.\n\nPlay Rd5.","acceptedMoves":["e5d5","e5e6","e5e7","e5e8","e5f5","e5g5","e5h5","e5a5","e4f5","e4f4","e4f3","e4e3","e4d3","e4d4"]},{"ply":4,"mover":"black","moveSan":"Kb6","moveUci":"c6b6","fenBefore":"8/8/2k5/3R4/4K3/8/8/8 b - - 3 2","fenAfter":"8/8/1k6/3R4/4K3/8/8/8 w - - 4 3"},{"ply":5,"mover":"white","moveSan":"Kd4","moveUci":"e4d4","fenBefore":"8/8/1k6/3R4/4K3/8/8/8 w - - 4 3","fenAfter":"8/8/1k6/3R4/3K4/8/8/8 b - - 5 3","coachText":"Now, if we try to shrink the box again, their king can capture our rook.\n\nSo in this position, we move our king closer to support our rook.\n\nPlay Kd4.","classicCoachText":"The rook is holding the box, so bring your king closer.\n\nYour king must do the pushing before the wall can advance safely.\n\nPlay Kd4.","acceptedMoves":["e4d4","d5d6","d5d7","d5d8","d5e5","d5f5","d5g5","d5h5","d5d4","d5d3","d5d2","d5d1","e4e5","e4f5","e4f4","e4f3","e4e3","e4d3"]},{"ply":6,"mover":"black","moveSan":"Kc6","moveUci":"b6c6","fenBefore":"8/8/1k6/3R4/3K4/8/8/8 b - - 5 3","fenAfter":"8/8/2k5/3R4/3K4/8/8/8 w - - 6 4"},{"ply":7,"mover":"white","moveSan":"Kc4","moveUci":"d4c4","fenBefore":"8/8/2k5/3R4/3K4/8/8/8 w - - 6 4","fenAfter":"8/8/2k5/3R4/2K5/8/8/8 b - - 7 4","coachText":"Now, if we try to shrink the box again, the black king can escape.\n\nSo when shrinking the box, always make sure their king cannot escape.\n\nIn this position, we play what’s called a “waiting move”: it forces Black to move away from the rook.\n\nPlay Kc4.","classicCoachText":"Keep walking toward the boxed king.\n\nThe rook still stops it crossing the fifth rank.\n\nPlay Kc4.","acceptedMoves":["d4c4","d5d8","d5e5","d5f5","d5g5","d5h5","d5c5","d5a5","d4e5","d4e4"]},{"ply":8,"mover":"black","moveSan":"Kc7","moveUci":"c6c7","fenBefore":"8/8/2k5/3R4/2K5/8/8/8 b - - 7 4","fenAfter":"8/2k5/8/3R4/2K5/8/8/8 w - - 8 5"},{"ply":9,"mover":"white","moveSan":"Kc5","moveUci":"c4c5","fenBefore":"8/2k5/8/3R4/2K5/8/8/8 w - - 8 5","fenAfter":"8/2k5/8/2KR4/8/8/8/8 b - - 9 5","coachText":"Now Black tries to move the king up the board instead of to the side.\n\nNo problem: we cannot shrink the box, so we bring our king up the board to support the rook and take the opposition.\n\nPlay Kc5.","classicCoachText":"Step into the opposition.\n\nYour king now takes away the forward squares and makes the defender give ground.\n\nPlay Kc5.","acceptedMoves":["c4c5","d5e5","d5f5","d5g5","d5h5","d5d4","d5d3","d5d2","d5d1","d5c5","d5b5","d5a5","c4b5","c4d4","c4d3","c4c3","c4b3","c4b4"]},{"ply":10,"mover":"black","moveSan":"Kb7","moveUci":"c7b7","fenBefore":"8/2k5/8/2KR4/8/8/8/8 b - - 9 5","fenAfter":"8/1k6/8/2KR4/8/8/8/8 w - - 10 6"},{"ply":11,"mover":"white","moveSan":"Rd6","moveUci":"d5d6","fenBefore":"8/1k6/8/2KR4/8/8/8/8 w - - 10 6","fenAfter":"8/1k6/3R4/2K5/8/8/8/8 b - - 11 6","coachText":"Now look: we have an opportunity to shrink the box.\n\nPlay Rd6.","classicCoachText":"Tighten the box by raising the rook wall to the sixth rank.\n\nThe defender is now confined to the last two ranks.\n\nPlay Rd6.","acceptedMoves":["d5d6","c5d6","c5d4","c5c4","c5b4","c5b5","d5d7","d5d8","d5e5","d5f5","d5g5","d5h5","d5d4","d5d3","d5d2","d5d1"]},{"ply":12,"mover":"black","moveSan":"Kc7","moveUci":"b7c7","fenBefore":"8/1k6/3R4/2K5/8/8/8/8 b - - 11 6","fenAfter":"8/2k5/3R4/2K5/8/8/8/8 w - - 12 7"},{"ply":13,"mover":"white","moveSan":"Kd5","moveUci":"c5d5","fenBefore":"8/2k5/3R4/2K5/8/8/8/8 w - - 12 7","fenAfter":"8/2k5/3R4/3K4/8/8/8/8 b - - 13 7","coachText":"We cannot shrink the box in this position, so we play the “waiting move”.\n\nPlay Kd5.","classicCoachText":"Follow the retreating king.\n\nKeep your king close, so the rook can advance again without being chased away.\n\nPlay Kd5.","acceptedMoves":["c5d5","d6e6","d6f6","d6g6","d6h6","d6d5","d6d4","d6d3","d6d2","d6d1","d6c6","d6b6","d6a6"]},{"ply":14,"mover":"black","moveSan":"Kb8","moveUci":"c7b8","fenBefore":"8/2k5/3R4/3K4/8/8/8/8 b - - 13 7","fenAfter":"1k6/8/3R4/3K4/8/8/8/8 w - - 14 8"},{"ply":15,"mover":"white","moveSan":"Rd7","moveUci":"d6d7","fenBefore":"1k6/8/3R4/3K4/8/8/8/8 w - - 14 8","fenAfter":"1k6/3R4/8/3K4/8/8/8/8 b - - 15 8","coachText":"Shrink the box to the seventh rank.\n\nNow only the back rank remains inside the box.\n\nPlay Rd7.","classicCoachText":"Raise the wall to the seventh rank.\n\nOnly the back rank remains inside the box.\n\nPlay Rd7.","acceptedMoves":["d6d7","d6d8","d6e6","d6f6","d6g6","d6h6","d6c6","d6b6","d6a6","d5c6","d5e6","d5e5","d5e4","d5d4","d5c4","d5c5"]},{"ply":16,"mover":"black","moveSan":"Kc8","moveUci":"b8c8","fenBefore":"1k6/3R4/8/3K4/8/8/8/8 b - - 15 8","fenAfter":"2k5/3R4/8/3K4/8/8/8/8 w - - 16 9"},{"ply":17,"mover":"white","moveSan":"Kc6","moveUci":"d5c6","fenBefore":"2k5/3R4/8/3K4/8/8/8/8 w - - 16 9","fenAfter":"2k5/3R4/2K5/8/8/8/8/8 b - - 17 9","coachText":"We cannot shrink the box, so bring the king up to support the rook.\n\nPlay Kc6.","classicCoachText":"Bring your king up behind the rook wall.\n\nTogether they stop the defender returning toward the centre.\n\nPlay Kc6.","acceptedMoves":["d5c6","d7e7","d7f7","d7g7","d7h7","d7d6","d7a7","d5d6","d5e6"]},{"ply":18,"mover":"black","moveSan":"Kb8","moveUci":"c8b8","fenBefore":"2k5/3R4/2K5/8/8/8/8/8 b - - 17 9","fenAfter":"1k6/3R4/2K5/8/8/8/8/8 w - - 18 10"},{"ply":19,"mover":"white","moveSan":"Rc7","moveUci":"d7c7","fenBefore":"1k6/3R4/2K5/8/8/8/8/8 w - - 18 10","fenAfter":"1k6/2R5/2K5/8/8/8/8/8 b - - 19 10","coachText":"Now look: we can shrink the box, and then the king is limited to only two squares.\n\nPlay Rc7.","classicCoachText":"Slide the rook sideways along the seventh rank.\n\nThe wall stays closed while the king is driven into the corner.\n\nPlay Rc7.","acceptedMoves":["d7c7","d7d8","d7e7","d7f7","d7g7","d7h7","d7d6","d7d5","d7d4","d7d3","d7d2","d7d1","d7b7","c6d6","c6d5","c6c5","c6b5","c6b6"]},{"ply":20,"mover":"black","moveSan":"Ka8","moveUci":"b8a8","fenBefore":"1k6/2R5/2K5/8/8/8/8/8 b - - 19 10","fenAfter":"k7/2R5/2K5/8/8/8/8/8 w - - 20 11"},{"ply":21,"mover":"white","moveSan":"Kb6","moveUci":"c6b6","fenBefore":"k7/2R5/2K5/8/8/8/8/8 w - - 20 11","fenAfter":"k7/2R5/1K6/8/8/8/8/8 b - - 21 11","coachText":"This is the only position where we do not shrink the box.\n\nIf we shrink it here, the game ends in stalemate, because Black has no legal moves left.\n\nInstead, we think about how to checkmate the king.\n\nPlay Kb6.","classicCoachText":"Take the opposition beside the corner.\n\nYour king controls a7, b7 and c7, so the defender has almost no room.\n\nPlay Kb6.","acceptedMoves":["c6b6","c7c8","c7d7","c7e7","c7f7","c7g7","c7h7","c6d7","c6d6","c6d5","c6c5","c6b5"]},{"ply":22,"mover":"black","moveSan":"Kb8","moveUci":"a8b8","fenBefore":"k7/2R5/1K6/8/8/8/8/8 b - - 21 11","fenAfter":"1k6/2R5/1K6/8/8/8/8/8 w - - 22 12"},{"ply":23,"mover":"white","moveSan":"Rc6","moveUci":"c7c6","fenBefore":"1k6/2R5/1K6/8/8/8/8/8 w - - 22 12","fenAfter":"1k6/8/1KR5/8/8/8/8/8 b - - 23 12","coachText":"Now we need to force the king into the corner again, so we can deliver checkmate on c8 with the rook.\n\nThis is where the “waiting move” comes into play.\n\nRc6 hands the move back to Black while keeping the king trapped.\n\nPlay Rc6.","classicCoachText":"Your king now guards the seventh-rank exits, so drop the rook back for a waiting move.\n\nThe defender is forced into the corner.\n\nPlay Rc6.","acceptedMoves":["c7c6","c7d7","c7e7","c7f7","c7g7","c7h7","c7c5","c7c4","c7c3","c7c2","c7c1","c7b7","c7a7","b6c6"]},{"ply":24,"mover":"black","moveSan":"Ka8","moveUci":"b8a8","fenBefore":"1k6/8/1KR5/8/8/8/8/8 b - - 23 12","fenAfter":"k7/8/1KR5/8/8/8/8/8 w - - 24 13"},{"ply":25,"mover":"white","moveSan":"Rc8#","moveUci":"c6c8","fenBefore":"k7/8/1KR5/8/8/8/8/8 w - - 24 13","fenAfter":"k1R5/8/1K6/8/8/8/8/8 b - - 25 13","coachText":"Our king covers the escape squares, so we put the rook on the back rank for checkmate.\n\nPlay Rc8#.","classicCoachText":"Your king covers the escape squares.\n\nPut the rook on the back rank to close the last side of the box with checkmate.\n\nPlay Rc8#.","acceptedMoves":["c6c8","b6c7","b6c5","b6b5","b6a5","b6a6","c6c7","c6d6","c6e6","c6f6","c6g6","c6h6","c6c5","c6c4","c6c3","c6c2","c6c1"]}],"planCheckpoints":[],"variants":[{"id":"rook-build-the-barrier-variant-1","fen":"8/8/4k3/2R5/3K4/8/8/8 w - - 0 1","sideToMove":"white","expectedResult":"win","transform":"mirror-files"}]}],"learnLineIds":["rook-build-the-barrier"]},"hasChallenge":true}