csharpfritz / csharpfritz/MyFirstTextGame
Add 'drop' command to remove items from inventory
Đang mở
engine
enhancement
squad:banner
- Ngôn ngữ chính
- C#
- Star
- 1
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.