Skip to content

Commit b2e5238

Browse files
Merge pull request #262 from unhappychoice/feat/reorder-help-screen-sections
feat: reorder Game Help sections to show Code Challenge Types before Typing Tips
2 parents 6c44ec0 + 9bfbaae commit b2e5238

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

src/game/screens/help_screen.rs

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -291,63 +291,63 @@ impl HelpScreen {
291291
)),
292292
Line::from(""),
293293
Line::from(vec![Span::styled(
294-
"Typing Tips:",
294+
"Code Challenge Types:",
295295
Style::default().fg(Colors::title()).bold(),
296296
)]),
297297
Line::from(""),
298298
Line::from(Span::styled(
299-
"• Focus on accuracy over speed initially",
299+
"GitType extracts real code constructs from repositories:",
300300
Style::default().fg(Colors::text()),
301301
)),
302+
Line::from(""),
302303
Line::from(Span::styled(
303-
"• Use proper finger positioning",
304+
"• Functions, methods, and procedures",
304305
Style::default().fg(Colors::text()),
305306
)),
306307
Line::from(Span::styled(
307-
"• Practice regularly to improve muscle memory",
308+
"• Classes, structs, and interfaces",
308309
Style::default().fg(Colors::text()),
309310
)),
310311
Line::from(Span::styled(
311-
"• Don't look at the keyboard while typing",
312+
"• Enums, traits, and type definitions",
312313
Style::default().fg(Colors::text()),
313314
)),
314315
Line::from(Span::styled(
315-
"• Take breaks to avoid fatigue",
316+
"• Variables, constants, and modules",
316317
Style::default().fg(Colors::text()),
317318
)),
318-
Line::from(""),
319-
Line::from(vec![Span::styled(
320-
"Code Challenge Types:",
321-
Style::default().fg(Colors::title()).bold(),
322-
)]),
323-
Line::from(""),
324319
Line::from(Span::styled(
325-
"GitType extracts real code constructs from repositories:",
320+
"• React components and namespaces",
326321
Style::default().fg(Colors::text()),
327322
)),
328-
Line::from(""),
329323
Line::from(Span::styled(
330-
"• Functions, methods, and procedures",
324+
"• Control flow (loops, conditionals)",
331325
Style::default().fg(Colors::text()),
332326
)),
327+
Line::from(""),
328+
Line::from(vec![Span::styled(
329+
"Typing Tips:",
330+
Style::default().fg(Colors::title()).bold(),
331+
)]),
332+
Line::from(""),
333333
Line::from(Span::styled(
334-
"• Classes, structs, and interfaces",
334+
"• Focus on accuracy over speed initially",
335335
Style::default().fg(Colors::text()),
336336
)),
337337
Line::from(Span::styled(
338-
"• Enums, traits, and type definitions",
338+
"• Use proper finger positioning",
339339
Style::default().fg(Colors::text()),
340340
)),
341341
Line::from(Span::styled(
342-
"• Variables, constants, and modules",
342+
"• Practice regularly to improve muscle memory",
343343
Style::default().fg(Colors::text()),
344344
)),
345345
Line::from(Span::styled(
346-
"• React components and namespaces",
346+
"• Don't look at the keyboard while typing",
347347
Style::default().fg(Colors::text()),
348348
)),
349349
Line::from(Span::styled(
350-
"• Control flow (loops, conditionals)",
350+
"• Take breaks to avoid fatigue",
351351
Style::default().fg(Colors::text()),
352352
)),
353353
Line::from(""),

0 commit comments

Comments
 (0)