ErikSundbergDC / ErikSundbergDC/DungeonCrawlerServer

CommandQuit

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
C#
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Lägg till CommandQuit. Kommandot ska skriva ut ett avskedsmeddelande och sedan avslutas programmet genom att Perform()-metoden returnerar true.
a. Lägg till ett ”alias” för CommandQuit som gör så att samma kod anropas även om man skriver ”exit”. (Det finns ett mycket enkelt sätt att göra detta, men du får fundera lite på det själv.)

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the existing command implementations and the Perform() method used by commands. Add CommandQuit so it prints a farewell message, returns true from Perform(), and is also invoked when the user enters "exit". Confirm that both command names end the program as requested.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.