csharpfritz / csharpfritz/MyFirstTextGame
Add 'drop' command to remove items from inventory
Aperta
engine
enhancement
squad:banner
- Lingua principale
- C#
- Stelle
- 1
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.