Add 'drop' command to remove items from inventory
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 58/100
Research direction
Start by locating the CommandType enum, CommandParser, and the existing inventory and room-item handling in GameEngine. Use the take flow as a guide, then verify that drop parsing, inventory removal, current-room placement, non-droppable-item handling, and green confirmation output all match the acceptance criteria.
Written by the indexing model from the issue text.
Description
Players can ake items but cannot drop them. A drop command would allow placing inventory items back into the current room.
Acceptance criteria:
- Add CommandType.Drop to the enum
- CommandParser recognizes drop
- GameEngine.HandleDrop() removes item from inventory, adds to current room's RoomItems
- Non-droppable items (if any) should be handled gracefully
- Output confirmation message in green
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from csharpfritz/MyFirstTextGame
-
enhancement game-content squad:romanoff
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
enhancement game-content squad:romanoff
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
squad:barton testing
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
architecture enhancement squad:fury
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
engine enhancement squad:banner
Difficulty 3/5 1-2 days Newbie friendliness 58/100
All issues in csharpfritz/MyFirstTextGame
Similar issues
-
Documentation
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
cake-build/cake#5024 ·
-
Frontend status/draft TechnicalDebt
Difficulty 2/5 1-2 days Newbie friendliness 75/100
Altinn/altinn-auth#4143 ·
-
.NET Flaky Test Testing Tests
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
getsentry/sentry-dotnet#5617 · 1 comment ·
-
:watch: Not Triaged dotnet-fsharp/svc
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
Client customer-reported needs-team-attention question Service Attention WebPubSub
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Azure/azure-sdk-for-net#63292 · 3 comments · 1 reaction ·