p Leaving our king in check after a move is forbidden.
-TODO: diagram let king in check capturing queen, bishop pinned
figure.diagram-container
.diagram
| fen:r6k/4q3/8/8/8/B7/8/K7:
| fen:rnbqkbnr/ppp2Qpp/2np4/4p3/2B1P3/8/PPPP1PPP/RNB1K1NR:
figcaption Famous mating pattern: 1-0
-p All other ways to end the game lead to a draw (1/2-1/2): nobody wins:
+p All other ways to end the game lead to a draw (1/2-1/2); nobody wins:
ul
- li when a player has no legal move but is not under check,
+ li when a player has no legal move but is not under check (stalemate),
li.
when a position is repeated three times with the same castling right and
same player in turn,