csharpfritz / csharpfritz/MyFirstTextGame
Add 'drop' command to remove items from inventory
Ouverte
engine
enhancement
squad:banner
- Langage dominant
- C#
- Étoiles
- 1
- Forks
- 0
- Métriques de merge des PR
- Aucune PR mergée en 30 j
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
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.