-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathcandidates.ts
More file actions
162 lines (154 loc) · 5.31 KB
/
candidates.ts
File metadata and controls
162 lines (154 loc) · 5.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
import type { PositionLinkOptions } from 'src/lib/positionLinks'
export interface CandidateStoryline {
title: string
description: string
icon: string
}
export interface CandidateIdea {
title: string
description: string
icon: string
}
export interface CandidatePosition extends PositionLinkOptions {
id: string
title: string
subtitle: string
summary: string
tag: string
accent: 'amber' | 'red' | 'blue'
broadcastHref?: string
}
export const CANDIDATES_HERO = {
eyebrow: 'Candidates HQ',
title: 'One page for live moments, instant analysis, and Maia challenges.',
description:
'As the tournament starts, this page becomes the fast path from a sharp position to deep analysis or a playable Maia challenge.',
}
export const CANDIDATES_STORYLINES: CandidateStoryline[] = [
{
title: 'Interesting positions first',
description:
'Every featured moment can jump straight into a dedicated analysis view instead of forcing users to scrub through move lists.',
icon: 'center_focus_strong',
},
{
title: 'Turn any moment into a challenge',
description:
'Linked drills start from the exact board state so visitors can immediately test whether they can convert or defend it better than the players did.',
icon: 'swords',
},
{
title: 'Broadcast, analysis, and drills stay connected',
description:
'Each card can carry the live round link too, so people can move between the event feed and the interactive tools without losing the thread.',
icon: 'hub',
},
]
export const CANDIDATES_EXTRA_IDEAS: CandidateIdea[] = [
{
title: 'Maia Disagreement Meter',
description:
'Flag moments where Maia strongly prefers a human move that differs from Stockfish, then sort those by surprise value.',
icon: 'psychology',
},
{
title: 'Conversion Tests',
description:
'Collect winning positions that still require technique and let visitors see whether they can actually finish the job against Maia.',
icon: 'military_tech',
},
{
title: 'Round Recap Shelf',
description:
'Keep one short note and one featured board from each round so the page becomes an archive instead of a disposable live feed.',
icon: 'history',
},
]
// Drop live tournament moments here as PGN or FEN during the event.
export const CANDIDATES_FEATURED_POSITIONS: CandidatePosition[] = [
{
id: 'rd2-defend-like-hikaru',
title: 'Rd2 Challenge 1: Defend like Hikaru',
subtitle: 'Can you hold the position like Hikaru did?',
summary: 'Nakamura is under pressure. Black to move and defend accurately.',
tag: 'Featured',
accent: 'red',
fen: '2r3k1/2q2ppp/5n2/p1p1p3/4P2P/1PQ3P1/P4PB1/2R3K1 b - - 0 25',
playerColor: 'black',
maiaVersion: 'maia_kdd_1900',
targetMoveNumber: 8,
},
{
id: 'rd2-pragg-french',
title: "Rd2 Challenge 2: Hold off Pragg's French",
subtitle:
'Can you defend the White side after some inaccuracies in the French?',
summary:
'White to move in a tense French structure. Defend the position accurately.',
tag: 'Featured',
accent: 'amber',
fen: 'r1b2rk1/6pp/ppqbpn2/2pp4/3P1P2/2N1B3/PPPQB1PP/4RR1K b - - 1 16',
playerColor: 'white',
maiaVersion: 'maia_kdd_1800',
targetMoveNumber: 8,
},
{
id: 'rd2-be-like-bluebaum',
title: 'Rd2 Challenge 3: Be like Bluebaum',
subtitle:
'Bluebaum had less space, but held the draw anyway. Try to do the same.',
summary:
'Bluebaum-style defense and coordination. Black to move and find the right plan.',
tag: 'Featured',
accent: 'blue',
fen: '4rb1r/pp1k1pp1/2p1nnb1/3p2Np/3P3P/2P1NPP1/PP3K2/R1B2B1R b - - 3 19',
playerColor: 'black',
maiaVersion: 'maia_kdd_1900',
targetMoveNumber: 8,
},
]
// Warm-up cards keep the page useful before round one begins.
export const CANDIDATES_WARMUP_POSITIONS: CandidatePosition[] = [
{
id: 'warmup-pressure-center',
title: 'Rd1 Challenge 1: Can you convert Sindarov vs. Esipenko?',
subtitle:
'Esipenko (Black) just blundered with 31. ...Qc6??. Can you convert the win like Sindarov did?',
summary:
'Sindarov has the win in hand after 31. ...Qc6??. White to move and convert.',
tag: 'Warm-up',
accent: 'red',
fen: '5rk1/6p1/Rbq4p/1p1pRp1Q/2pn1P1P/1P4P1/5PK1/3B4 w - - 1 32',
playerColor: 'white',
maiaVersion: 'maia_kdd_1900',
targetMoveNumber: 8,
},
{
id: 'warmup-endgame-squeeze',
title: 'Rd1 Challenge 2: Win like Pragg',
subtitle:
"Praggnanandhaa took advantage of Giri's mistake to take home the full point. Can you do the same?",
summary:
"Praggnanandhaa converted after Giri's mistake. White to move and win.",
tag: 'Warm-up',
accent: 'amber',
fen: '8/1p1k4/p4nn1/2p3Nr/P3Rp1P/2PP4/6P1/4B1K1 w - - 3 37',
playerColor: 'white',
maiaVersion: 'maia_kdd_1700',
targetMoveNumber: 10,
},
{
id: 'warmup-take-down-hikaru',
title: 'Rd1 Challenge 3: Take down Hikaru',
subtitle:
'Fabi has built up a nice advantage against Hikaru, but how do you break through?',
summary:
'Caruana is pressing against Nakamura. White to move and finish the attack.',
tag: 'Warm-up',
accent: 'blue',
fen: 'q4k2/3B2p1/1p3b1p/p6P/P1Pp2Q1/3P2P1/5P2/6K1 w - - 5 55',
playerColor: 'white',
maiaVersion: 'maia_kdd_1900',
targetMoveNumber: 8,
},
]