Khaled RPG is a text-based RPG built in Haskell. Create a character, explore a forest, battle enemies, and save your progress.
- Player creation with customizable stats
- Save/load game functionality
- Exploration and combat mechanics
- Random campfire events for healing
-
Run the game:
runhaskell KhaledRPG.hs
-
Enter your character's name If a saved game exists, you can load it; otherwise, a new game starts.
-
Explore:
- Look for enemies to fight
- Use campfires to heal
- Save the game anytime
- View your player stats
- 1: Search for enemies
- 2: Use a campfire
- 3: Save the game
- 4: Show player stats
- 5: Quit
The Laravel framework is open-sourced software licensed under the MIT license.