Closed binarycleric closed 5 years ago
Thoughts:
ChallongeTournament < Tournament PLASTournament < Tournament
Tournament will likely follow Challonge's API--it just makes sense.
Two types of tournaments:
Teams can live for as long as a tournament, or teams can be used across multiple tournaments. This can create an Olympics type thing.
There are two types of tournaments now: PLASTournament and Challonge::Tournament. The former is for simple, boiloff tournaments with no need for score tracking -- just a winner. Challonge tournaments are for everything else.
I'm having considerable problems implementing this using Rails' polymorphic associations.
I'm going to unhook the PLASTournament stuff and just go with Challonge for everything for now.
Possibly using Challonge! API