A simple text-based adventure game where you must find a safe place to rest while dealing with hostile creatures and solving puzzles.
- Combat system with health, damage, and defense stats
- Inventory system for collecting and using items
- Multiple connected locations to explore
- Interactive NPCs and objects
- Command parser for natural language input like "go to cave" or "pick up key"
Basic commands:
look- View current location and surroundingsgo [location]- Move to a different areaattack [target]- Fight enemiesuse [item] on [target]- Use items to solve puzzlestake [item]- Pick up itemsinventory- Check your items
Win condition: Find and reach a safe place to rest.
Game.java- Main game loop and command handlingEntity.java- Base class for player, NPCs and itemsLocation.java- Map locations and connectionsItem.java- Items that can be collected and used
