csharpfritz / csharpfritz/MyFirstTextGame

Add 'help' command to display available commands

Aperta
#1 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
engine enhancement squad:banner
Lingua principale
C#
Stelle
1
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.