Skip to content

Commit 3108864

Browse files
committed
chore: add solutions to scenario 7 lessons
1 parent 166b7b4 commit 3108864

1 file changed

Lines changed: 23 additions & 5 deletions

File tree

  • react-ystemandchess/src/features/lessons/lessons-main

react-ystemandchess/src/features/lessons/lessons-main/Scenarios.js

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -424,31 +424,49 @@ export const scenariosArray = [
424424
name: 'Queen and rook mate',
425425
fen: '8/8/3k4/8/8/4K3/8/Q6R w - - 0 1',
426426
info: 'Use your queen and rook to restrict the king and deliver checkmate. Mate in 3 if played perfectly.',
427+
solution: null,
428+
goal: { type: 'CHECKMATE', by: 'player' },
429+
opponentConstraints: null,
427430
},
428431
{
429432
name: 'Two rook mate',
430433
fen: '8/8/3k4/8/8/4K3/8/R6R w - - 0 1',
431-
info: `Use your rooks to restrict the king and deliver checkmate. Mate in 4 if played perfectly.`,
434+
info: 'Use your rooks to restrict the king and deliver checkmate. Mate in 4 if played perfectly.',
435+
solution: null,
436+
goal: { type: 'CHECKMATE', by: 'player' },
437+
opponentConstraints: null,
432438
},
433439
{
434440
name: 'Queen and bishop mate',
435441
fen: '8/8/3k4/8/8/2QBK3/8/8 w - - 0 1',
436-
info: `Use your queen and bishop to restrict the king and deliver checkmate. Mate in 5 if played perfectly.`,
442+
info: 'Use your queen and bishop to restrict the king and deliver checkmate. Mate in 5 if played perfectly.',
443+
solution: null,
444+
goal: { type: 'CHECKMATE', by: 'player' },
445+
opponentConstraints: null,
437446
},
438447
{
439448
name: 'Queen and knight mate',
440449
fen: '8/8/3k4/8/8/2QNK3/8/8 w - - 0 1',
441-
info: `Use your queen and knight to restrict the king and deliver checkmate. Mate in 5 if played perfectly.`,
450+
info: 'Use your queen and knight to restrict the king and deliver checkmate. Mate in 5 if played perfectly.',
451+
solution: null,
452+
goal: { type: 'CHECKMATE', by: 'player' },
453+
opponentConstraints: null,
442454
},
443455
{
444456
name: 'Queen mate',
445457
fen: '8/8/3k4/8/8/4K3/8/4Q3 w - - 0 1',
446-
info: `Use your queen to restrict the king, force it to the edge of the board and deliver checkmate. The queen can't do it alone, so use your king to help. Mate in 6 if played perfectly.`,
458+
info: 'Use your queen to restrict the king, force it to the edge of the board and deliver checkmate. The queen can\'t do it alone, so use your king to help. Mate in 6 if played perfectly.',
459+
solution: null,
460+
goal: { type: 'CHECKMATE', by: 'player' },
461+
opponentConstraints: null,
447462
},
448463
{
449464
name: 'Rook mate',
450465
fen: '8/8/3k4/8/8/4K3/8/4R3 w - - 0 1',
451-
info: `Use your rook to restrict the king, force it to the edge of the board and deliver checkmate. The rook can't do it alone, so use your king to help. Mate in 11 if played perfectly.`,
466+
info: 'Use your rook to restrict the king, force it to the edge of the board and deliver checkmate. The rook can\'t do it alone, so use your king to help. Mate in 11 if played perfectly.',
467+
solution: null,
468+
goal: { type: 'CHECKMATE', by: 'player' },
469+
opponentConstraints: null,
452470
},
453471
],
454472
},

0 commit comments

Comments
 (0)