From 361f9e694fad49f5cfcc37cb47b0445924427248 Mon Sep 17 00:00:00 2001 From: mark Date: Wed, 6 Dec 2023 20:02:32 -0800 Subject: [PATCH] Minor edits --- Advanced/Retrograde Analysis/chess-setup.tex | 30 +++++------ .../Retrograde Analysis/parts/00 rules.tex | 2 +- .../Retrograde Analysis/parts/01 intro.tex | 21 +++++--- .../Retrograde Analysis/parts/02 easy.tex | 5 ++ .../Retrograde Analysis/parts/03 medium.tex | 52 ++++++++++++++++++- 5 files changed, 84 insertions(+), 26 deletions(-) diff --git a/Advanced/Retrograde Analysis/chess-setup.tex b/Advanced/Retrograde Analysis/chess-setup.tex index ed8e59b..c5ac4da 100644 --- a/Advanced/Retrograde Analysis/chess-setup.tex +++ b/Advanced/Retrograde Analysis/chess-setup.tex @@ -10,24 +10,24 @@ vlabelformat=\Alph{filelabel} } -\long\def\manyboards#1{ - \if@solutions - \chessboard[setpieces = {#1}] - \hfill - \chessboard[setpieces = {#1}] - \else - \vfill - \chessboard[setpieces = {#1}] - \hfill - \chessboard[setpieces = {#1}] - \vfill - \chessboard[setpieces = {#1}] - \hfill - \chessboard[setpieces = {#1}] - \fi +\long\def\twoboards#1{ + \chessboard[setpieces = {#1}] + \hfill + \chessboard[setpieces = {#1}] } \makeatletter +\long\def\manyboards#1{ + \if@solutions + \twoboards{#1} + \else + \vfill + \twoboards{#1} + \vfill + \twoboards{#1} + \fi +} + \cbDefineNewPiece{white}{U} {\raisebox{1.75mm}{\cfss@whitepiececolor $\odot$}} diff --git a/Advanced/Retrograde Analysis/parts/00 rules.tex b/Advanced/Retrograde Analysis/parts/00 rules.tex index 3f5d844..2f3ec62 100644 --- a/Advanced/Retrograde Analysis/parts/00 rules.tex +++ b/Advanced/Retrograde Analysis/parts/00 rules.tex @@ -1,6 +1,6 @@ \section{Rules} -This handout contains a set of problems. \par +This handout contains a set of problems. You may solve them in any order. \par Each is marked with a few stars, which you collect by presenting solutions. \par An example is below. diff --git a/Advanced/Retrograde Analysis/parts/01 intro.tex b/Advanced/Retrograde Analysis/parts/01 intro.tex index 74a7f14..cd14250 100644 --- a/Advanced/Retrograde Analysis/parts/01 intro.tex +++ b/Advanced/Retrograde Analysis/parts/01 intro.tex @@ -1,14 +1,15 @@ \section{Introduction} To solve the problems in this handout, you mustn't be a chess master---you just need to know how the pieces move. -I'm sure you're all familiar with the basic rules of chess. The odd ones are listed below. +I'd expect that you're all familiar with the basic rules of chess (ask questions if you aren't!). +The odd ones are listed below. \generic{Board orientation:} -The bottom-left square of a chessboard is \textbf{always} black. +The bottom-left square of a chessboard is \textit{always} black. \generic{Starting pawns \& en passant:} A pawn may move two squares on its first turn. \par -An opposing pawn may capture this pawn as it does this. \par +An opposing pawn may capture this pawn as it completes this move. \par This is called an \textit{en passant} capture (Which means \say{in passing} in French) \begin{minipage}{0.3\textwidth} @@ -69,7 +70,7 @@ This is called an \textit{en passant} capture (Which means \say{in passing} in F \vfill \generic{Promotion:} -When a pawn reaches the last row of the board, it may be promoted to \textbf{any} other piece.\par +When a pawn reaches the last row of the board, it may be promoted to any other piece.\par (Except a king or a pawn, of course.) \generic{Castling:} @@ -139,14 +140,18 @@ A king and rook can \textit{castle} under the following conditions: \vfill \generic{General Strategies:} -Below is a list of questions you'll want to ask yourself if you get stuck. \par -\note[Note]{Yes, I know you don't have the problems yet. Patience.} +As you solve problems, keep the following in mind. \par +You may want to return to this list if you get stuck. \begin{itemize} \item What was the last move? (By black or white) - \item Were there any promotions? This may be indirect:\par - if White needs a third bishop, there was a promotion.\par + + \item Were there any promotions? The implication may be indirect: \par + if White needs a third bishop, there was a promotion. \par \note{Promotions often resolve seemingly impossible situations.} + + \item Do not assume that Black and White play well. + You may only assume they play \textit{correctly}. \end{itemize} \vfill diff --git a/Advanced/Retrograde Analysis/parts/02 easy.tex b/Advanced/Retrograde Analysis/parts/02 easy.tex index 1db28bb..46964f4 100644 --- a/Advanced/Retrograde Analysis/parts/02 easy.tex +++ b/Advanced/Retrograde Analysis/parts/02 easy.tex @@ -10,6 +10,11 @@ Black has just moved in the game below. White started on the south side of the board.\par What was Black's last move, and what was White's last move? \par +\note[Note]{ + The boards below are identical copies. Scribble to your heart's content.\\ + There a few empty boards at the end of this handout as well. +} + \manyboards{ ka8,Kc8, Ph2, diff --git a/Advanced/Retrograde Analysis/parts/03 medium.tex b/Advanced/Retrograde Analysis/parts/03 medium.tex index d51742f..1fd056a 100644 --- a/Advanced/Retrograde Analysis/parts/03 medium.tex +++ b/Advanced/Retrograde Analysis/parts/03 medium.tex @@ -221,7 +221,7 @@ White to move. Which side of the board did each color start on? \par There is a piece at G4, marked with a $\odot$. \par What is it, and what is its color? \par -\manyboards{ +\twoboards{ ra8,ke8,rh8, pc7,pd7, pb6, @@ -272,10 +272,58 @@ What is it, and what is its color? \par \end{hintlist} - \vfill \pagebreak +\makeatletter +\if@solutions +\else + + \vfill + + \twoboards{ + ra8,ke8,rh8, + pc7,pd7, + pb6, + pa5, + Ug4, + Pb3,Pg3,Ph3, + ba2,Pb2,Pc2,Pd2,Pf2,qg2,bh2, + Kc1,Rd1,nf1,Bh1 + } + + \vfill + + \twoboards{ + ra8,ke8,rh8, + pc7,pd7, + pb6, + pa5, + Ug4, + Pb3,Pg3,Ph3, + ba2,Pb2,Pc2,Pd2,Pf2,qg2,bh2, + Kc1,Rd1,nf1,Bh1 + } + + \vfill + + \twoboards{ + ra8,ke8,rh8, + pc7,pd7, + pb6, + pa5, + Ug4, + Pb3,Pg3,Ph3, + ba2,Pb2,Pc2,Pd2,Pf2,qg2,bh2, + Kc1,Rd1,nf1,Bh1 + } + + \vfill + \pagebreak + +\fi +\makeatother + \begin{solution} \textbf{Part 1:}