I would like to go about scripting a tournament bracket like the following:
But I haven't the foggiest idea where to start.
Some features I'd like to have:
- Random seeding
Automatic bracket progression
A way to resolve matchups that don't involve the player
Here's my general thinking, but please offer suggestions:
Each seed in the bracket is a global variable, linked to an enemy formation, but one seed is the player.
They're randomly arranged on the bracket.
As the player wins his/her battles, they advance up the bracket.
"Enemy" seeds will have their winner determined through a bit of RNG and stat comparisons behind the scenes.
Possibly using "write formation" to further randomly determine the enemies in each "enemy seed", and storing that information for the duration of the tournament (even perhaps afterwards).
I intend to have slice/sprite based information showing the progression of the tournament at each stage.
Any help, suggestions or opinions welcomed. Thanks