Skip to content

Commit

Permalink
add vukovicMate puzzle theme - closes #16792
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Jan 21, 2025
1 parent 4993e1c commit f3187e7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/coreI18n/src/main/key.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1278,6 +1278,8 @@ object I18nKey:
val `intermezzoDescription`: I18nKey = "puzzleTheme:intermezzoDescription"
val `killBoxMate`: I18nKey = "puzzleTheme:killBoxMate"
val `killBoxMateDescription`: I18nKey = "puzzleTheme:killBoxMateDescription"
val `vukovicMate`: I18nKey = "puzzleTheme:vukovicMate"
val `vukovicMateDescription`: I18nKey = "puzzleTheme:vukovicMateDescription"
val `knightEndgame`: I18nKey = "puzzleTheme:knightEndgame"
val `knightEndgameDescription`: I18nKey = "puzzleTheme:knightEndgameDescription"
val `long`: I18nKey = "puzzleTheme:long"
Expand Down
2 changes: 2 additions & 0 deletions modules/puzzle/src/main/PuzzleTheme.scala
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ object PuzzleTheme:
val intermezzo = PuzzleTheme(i.intermezzo, i.intermezzoDescription)
val kingsideAttack = PuzzleTheme(i.kingsideAttack, i.kingsideAttackDescription)
val killBoxMate = PuzzleTheme(i.killBoxMate, i.killBoxMateDescription)
val vukovicMate = PuzzleTheme(i.vukovicMate, i.vukovicMateDescription)
val knightEndgame = PuzzleTheme(i.knightEndgame, i.knightEndgameDescription)
val long = PuzzleTheme(i.long, i.longDescription)
val master = PuzzleTheme(i.master, i.masterDescription)
Expand Down Expand Up @@ -141,6 +142,7 @@ object PuzzleTheme:
dovetailMate,
hookMate,
killBoxMate,
vukovicMate,
smotheredMate
),
I18nKey.puzzle.specialMoves -> List(
Expand Down
1 change: 1 addition & 0 deletions public/images/puzzle-themes/vukovicMate.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions translation/source/puzzleTheme.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@
<string name="intermezzoDescription">Instead of playing the expected move, first interpose another move posing an immediate threat that the opponent must answer. Also known as "Zwischenzug" or "In between".</string>
<string name="killBoxMate">Kill box mate</string>
<string name="killBoxMateDescription">A rook is next to the enemy king and supported by a queen that also blocks the king's escape squares. The rook and the queen catch the enemy king in a 3 by 3 "kill box".</string>
<string name="vukovicMate">Vukovic mate</string>
<string name="vukovicMateDescription">A rook and knight team up to mate the king. The rook delivers mate while supported by a third piece, and the knight is used to block the king's escape squares.</string>
<string name="knightEndgame">Knight endgame</string>
<string name="knightEndgameDescription">An endgame with only knights and pawns.</string>
<string name="long">Long puzzle</string>
Expand Down

0 comments on commit f3187e7

Please sign in to comment.