Add 'help' command to display available commands

Open
#1 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
58/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Stale
Tech stack
csharp
Domain
cli, game-dev

Research direction

Start by locating the CommandType enum, CommandParser, and GameEngine.HandleHelp entry point. Add the Help command, recognize help and ?, and format every command with brief descriptions using cyan ANSI color. Done means the acceptance criteria are met and help displays correctly at any time.

Written by the indexing model from the issue text.

Description

engine enhancement squad:banner

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
Dominant language
C#
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from csharpfritz/MyFirstTextGame

All issues in csharpfritz/MyFirstTextGame

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.