Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Horse Simulator 🐎

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.

Features

  • 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.

How It Works

  • Success Rate Formula: (energy × 12 + 10) > random(1–100)
  • Big Success Chance: 1 in 10
  • Turns: 15 total before the final race

Getting Started

  1. Clone this repository:
    git clone https://github.com/RavenCunanan/JavaHorseGame.git
  2. Compile the game:
     javac horseSim.java
  3. Run the game:
      java horseSim
    

Example Gameplay

  • 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

Hints

Try to rest your horse at 6/10 energy

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages