Horse Simulator is a text-based Java game where you train your horse across 15 turns to prepare for the final race against Speed Biscuit. Manage energy, balance training and rest, and see if your horse has what it takes to become a champion.
- Training System: Improve speed, power, or stamina with randomized gains. Success rate depends on your horse’s current energy.
- Big Successes: Rare chance to boost an extra stat when training.
- Energy Management: Training consumes 1–2 energy, resting restores 2–5 energy (max 10).
- Failure Penalty: Training can fail, reducing stats — but no stat ever falls below 0.
- Final Race: After 15 turns, face off against Speed Biscuit in a narrated race to determine the champion.
- Success Rate Formula:
(energy × 12 + 10) > random(1–100) - Big Success Chance: 1 in 10
- Turns: 15 total before the final race
- Clone this repository:
git clone https://github.com/RavenCunanan/JavaHorseGame.git
- Compile the game:
javac horseSim.java
- Run the game:
java horseSim
-
Train speed at 7/10 energy → ~70% chance of success
-
Rest to regain energy and prepare for stronger training sessions
-
After 15 turns, race against Speed Biscuit with narration
Try to rest your horse at 6/10 energy