Academic site of Carl Ellis

/content/projects/battle

Battle

This now has it's own dedicated site which is much nicer!

You can find the new site at http://battle.carlellis.co.uk.

Put in two names and have them battle for victory!

The algorithm takes the given names of the combatents and assigns 3 attributes: strength, stamina, and dexterity to each player. The attributes are connected in a triangular sort of way to ensure balance.

Stamina is how likely a player will attack each round. Dexterity is the how likely the okayer will dodge and attack. Strength is how hard an attack is.

Source is on github at https://github.com/carl-ellis/Battle.