text adventure: add feature
text adventure: add feature: a task in smol-software-harbor (Harbor dataset). Add a drop <item command to the adventure game ( adventure/game.py ). If the player carries the item it leaves the inventory, is placed in the current room (so look lists it and it can be taken again) and the reply is…
The task
Add a `drop <item>` command to the adventure game (`adventure/game.py`). If the player carries the item it leaves the inventory, is placed in the current room (so `look` lists it and it can be taken again) and the reply is `Dropped: <item>.`; otherwise the reply is `You don't have <item>.`. Run `python3 -m pytest -q`.
Part of efederici/smol-software-harbor.