A survival game built with JavaFX where you play as a hunter trying to survive in the wilderness.
Survive as long as possible by managing your health, hunger, and thirst. Hunt rabbits using traps to get food, collect water, and avoid dangerous animals.
- Arrow Keys - Move
- Q - Place/pick up trap
- W - Consume food or water
- S - Save game
- L - Load game
- H - Show help menu (pauses game)
- M - Toggle music
- Health: Decreases when hit by animals or when hunger/thirst reach zero
- Hunger: Decreases over time, restore by consuming rabbit meat
- Thirst: Decreases over time, restore by consuming water
- Traps: Place traps to catch rabbits and get meat
- Animals: Avoid birds and rabbits - they can damage you
- Auto-healing: Health regenerates when hunger and thirst are above 45
- Download the latest release from Releases
- Download
Hunter-Windows-1.0.0.zip - Extract and run
Hunter.exe - If
Hunter.exedoesn't work, tryHunter-Launcher.bat
- Download the latest release from Releases
- Download
Hunter-macOS-1.0.0.dmg - Install and run the app
cd project
mvn clean javafx:run.\build-windows.batchmod +x build-mac.sh
./build-mac.shGame saves are stored in:
- Windows:
C:\Users\<YourName>\.hunter\gameState.json - macOS/Linux:
~/.hunter/gameState.json
Saves are in JSON format and automatically backed up.
- Java 17+ (for building from source)
- Maven 3.6+ (for building from source)
- Java 17
- JavaFX 21
- Maven
- JUnit 5
Enjoy hunting and surviving! 🎯