Reworked scoring

This commit is contained in:
2023-12-06 13:57:19 -08:00
parent f33be5fab2
commit a48e6f5d15
4 changed files with 207 additions and 162 deletions

View File

@ -3,7 +3,7 @@
% Sherlock, A matter of direction
\problem{A matter of direction}
%\difficulty{3}{5}
\starvalue{5}
\starvalue{4}
The results of a game of chess are shown below. \par
Did White start on the north or south side of the board? \par
@ -17,8 +17,12 @@ Did White start on the north or south side of the board? \par
}
\begin{hintlist}
Hint 1:
\hintcontent{2}{5}{The bishop on H1 is important. How did White deliver this check?}
Part 1: \tab\threestars{0}{1}{3} \par
\hintcontentnew{
The bishop on H1 is important. How did White deliver this check?
}
\vspace{2mm}
Done: \tab\threestars{1}{3}{0}
\end{hintlist}
\begin{solution}
@ -65,21 +69,23 @@ The white king has again become invisible. Find him. \par
\begin{hintlist}
Hint 1:
\hintcontent{3}{8}{
Part 1: \tab\threestars{0}{2}{6} \par
\hintcontentnew{
Either the white king is on B3, or Black is in check. \par
First, show that the latter implies the former.
\vspace{2mm}
}
Hint 2:
\hintcontent{2}{5}{
Part 2: \tab\threestars{2}{2}{4} \par
\hintcontentnew{
Moving back in time, you'll need to add two pieces to the board (not counting the king). \par
They have been captured!
\vspace{2mm}
}
\vspace{2mm}
Done: \tab\threestars{4}{4}{0}
\end{hintlist}
\makeatletter
\if@solutions
\vfill
@ -158,12 +164,15 @@ White to move. Which side of the board did each color start on? \par
}
\begin{hintlist}
Hint 1:
\hintcontent{4}{10}{
Part 1: \tab\threestars{0}{5}{5} \par
\hintcontentnew{
Double-checks make all positions seem impossible... \par
Try E1 and F2 anyway. Can you add pieces to make it make sense? \par
Don't forget about promotion.
}
\vspace{2mm}
Done: \tab\threestars{5}{5}{0}
\end{hintlist}
\begin{solution}
@ -223,68 +232,46 @@ What is it, and what is its color? \par
Kc1,Rd1,nf1,Bh1
}
\begin{hintlist}
Hint 1:
\hintcontent{1}{20}{
Part 1: \tab\threestars{0}{1}{19} \par
\hintcontentnew{
What color is the missing piece? Count captures.\par
Look at the region bounded by A1 and B3. How did the bishop get there? \par
\note[Note]{This is Part 1}
\vspace{2mm}
Look at the region bounded by A1 and B3. How did the bishop get there?
}
Hint 2:
\hintcontent{1}{19}{
Part 2: \tab\threestars{1}{1}{18} \par
\hintcontentnew{
What was White's last move? \par
What does this tell us about White's king? \par
\note[Note]{This is Part 2}
\vspace{2mm}
What does this tell us about White's king?
}
Hint 3:
\hintcontent{1}{18}{
Part 3: \tab\threestars{2}{1}{17} \par
\hintcontentnew{
Now, look at the region bounded by G1 and H3. \par
In Part 1, we found that all of White's pieces were captured---including the H1 rook. \par
How did it get off its home square to be captured? \par
What does this tell us about the bishop on H1? \par
\note[Note]{This is Part 3}
\vspace{2mm}
}
Hint 4:
\hintcontent{1}{17}{
The black bishop on H2 must have been promoted on G1. \par
Which pawn was it, and how did it get there? (Remember, we counted captures in Part 1). \par
In what order did the cross capture by the G1 and H1 pawns occur? \par
\note[Note]{This is Part 4}
\vspace{2mm}
What does this tell us about the bishop on H1?
}
Hint 5:
\hintcontent{5}{16}{
Part 4: \tab\threestars{3}{2}{15} \par
\hintcontentnew{
The black bishop on H2 must have been promoted on G1. \par
Which pawn was it, and how did it get there? (Remember, we counted captures in Part 1). \par
In what order did the cross capture by the G1 and H1 pawns occur?
}
Part 5: \tab\threestars{5}{2}{13} \par
\hintcontentnew{
Which black pieces are still missing? \par
Remember that White cannot castle through check.
}
\vspace{2mm}
Done: \tab\threestars{7}{13}{0}
\end{hintlist}
%\begin{instructornote}
% \textbf{Hints to give:} (in this order)
% \begin{itemize}
% \item How did the black bishop on A2 get there? \note{(Part 1)}
% \item How many captures has Black made? \note{(Part 1)}
% \item What color is the missing piece? \note{(Part 1)}
% \item What was White's last move? What does this imply? \note{(Part 2)}
% \item Which white pieces were captured? \par
% How did they move from their starting positions? \note{(Part 3)}
% \item How did the bishop on H2 get to where it is now? \note{(Part 3)}
% \item Which pawn was promoted to the bishop now on H2? \note{(Part 4)}
% \item Which black pieces are still missing? \note{(Conclusion)}
% \item Remember that White cannot castle through check. \note{(Conclusion)}
% \end{itemize}
%\end{instructornote}
\vfill
\pagebreak