You wake up on a silent shore.
Your boat is gone. Your radio is damaged.
It needs 7 days to charge.
Survive until rescue arrives.
STRANDED is a text-based survival simulation built in Java.
Each day: - Resources decay automatically - Player chooses one action: - Hunt - Rest - Explore - Random events may affect survival - Game ends if any vital stat reaches zero
Goal: Survive 7 days and send the rescue signal.
- Resource management (Energy, Food, Morale)
- 7-day survival loop.
- Daily resource decay system.
- Action-based decision mechanics.
- Random event outcomes.
- State-dependent difficulty scaling.
- Multiple ending conditions.
- CLI-based immersive pacing.
Main.java→ Entry pointGameEngine.java→ Game loop, decision logic, pacingPlayer.java→ Encapsulated player state and stat management
Concepts demonstrated:
- Object-Oriented Programming (OOP)
- Encapsulation
- Conditional logic
- Loop control
- Randomized probability systems
- Basic exception handling
- Clean separation of responsibilities
javac *.javajava MainThis project is licensed under the MIT License.
Arun R
PS: This is my first structured Java project.