csharpfritz / csharpfritz/MyFirstTextGame

Improve error messages for partial/ambiguous commands

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
engine enhancement squad:banner
Dominant language
C#
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

The parser currently returns CommandType.Unknown for anything it doesn't recognize. Improve UX: suggest closest match for misspelled directions (e.g. 'go nroth' -> 'Did you mean north?'), handle partial item names better, give contextual hints when a command is missing its target.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.