csharpfritz / csharpfritz/MyFirstTextGame

Add 'help' command to display available commands

Offen
#1 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
engine enhancement squad:banner
Vorherrschende Sprache
C#
Sterne
1
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

The game currently responds to unknown commands with a list of valid commands, but there's no dedicated help command. Players should be able to type help at any time to see available commands with brief descriptions.

**Acceptance criteria:**
- Add CommandType.Help to the enum
- CommandParser recognizes help and ? as help commands
- GameEngine.HandleHelp() prints a formatted list of all commands with short descriptions
- Use cyan ANSI color for the help text

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.