Away from my code(and pretty color coded editor) for a few days, trying to plan out this daunting task of creating a double elimination ‘tournament bracket’ that seems to not exist in terms of online support/guides/open source.
Feel free to ignore this post as I’m really just thinking out loud or make suggestions if you see a way to do something better, easier.
The only thing I’ve found on this online is: http://www.phpfreaks.com/forums/index.php?topic=277764.0 which is useless and only attests that the process is extremely difficult. which makes the simplicity of what I’m seeing in my mind offputting…
//upper
array = round-array = matches
establish unique match id for every match
print matches per round
//lower
create lower round
ensure establish unique match id for every match with a tie to propper upper match
count # of losers from equiv round of upper bracket
establish any round byes and #of losers from this round
count # of losers from next round of upper bracket
if incoming losers < losers of previous lower round
print next round for lower playout
else print next round for new incoming losers