Simple battle algorithm based on names
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
www
README
battle.rb
driver.rb
mob.rb

README

Hashes names, then creates two fighters based on the seed.
simple battle algoirthm is then used.

Each round, a fighter is randomly chosen.
If a random roll is underneath a fighters stamina score, it moves that round
If the random roll is underneath the defenders dexterity score, they dodge out of the way
otherwise, a hit is scored, and health removed.