csharpfritz / csharpfritz/MyFirstTextGame

Add 'help' command to display available commands

オープン
#1 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
engine enhancement squad:banner
主要言語
C#
スター
1
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。