Questions tagged [tournament]

The tournament tag refers to any tournament style program. Only use when the question directly relates to programming tournament style programs.

112 questions
2
votes
0 answers

How can I build a complex polymorphic association which includes ActiveResource classes?

I'm attempting to build a diverse tournament management system which allows multiple types of tournament bracket backends. The goal is to provide a very simple option for the tournament bracket backend (here, PlasTournament) and the possibility of…
2
votes
1 answer

Generating tournament brackets / Finding subgraphs

I'm trying to make a bracket generator similar to the Swiss style, but drawing games in batches of 2 rounds unlike Swiss which requires the results of the most recent round to generate the next round of games. I decided to try using some kind of…
flubb
  • 21
  • 1
  • 3
2
votes
1 answer

3-way / 4-way round-robin tournament scheduling algorithm

I would like to create/implement a tournament scheduling algorithm which is able to deal with more than 2 participants per game. The problem seems to be well known for 2 participants. See here for example: Round Robin Algorithm Implementation…
2
votes
1 answer

Tournament scheduling table C algorithm

I need to make a C program that creates/generates a schedule table for tournament "each against each other". There are 16 teams (1 to 16 numbers) and 15 rounds. The table should contain the round where i-th and j-th team are playing agains one…
pollux552
  • 107
  • 1
  • 10
2
votes
1 answer

League Scheduling without RoundRobin

currently I am actually looking for a term specific for my problem: I've created a league of >4 Teams The League lasts 3 Rounds (Numbers for the sake of simplicity) Matchups shall be assigned randomly out of Teams a Team has not yet played…
2
votes
0 answers

Prolog: Tournament Schedule

I am trying to automatically generate a schedule for a volleyball tournament I am organizing. It is mainly for fun. The rules are as follows: Teams that sign up consist of 2 players There are 36 such teams For a match, 3 such teams get put together…
RunOrVeith
  • 4,487
  • 4
  • 32
  • 50
2
votes
1 answer

Evenly duplicate games to reach a maximum amount per participant

I have a round robin tournament where I create all the games necessary (7 games per participant) for 8 teams. I however need 10 games per participant which means I need to duplicate matchups, and on top of that 1 and 5 can't play each other. You…
Mike Flynn
  • 22,342
  • 54
  • 182
  • 341
2
votes
1 answer

Modelling tournament brackets in MongoDB

I've been experimenting with MongoDB in order to move some parts of an app to it. I'm thinking a document-based db like mongodb would be a nice fit for tournament brackets but I'm having sort of a hard time coming up with a suitable model. (still…
bryan
  • 35
  • 5
2
votes
1 answer

Algorithm to calculate the number of matches in Swiss system tournament

I need to calculate the number of matches in a Swiss system tournament, is there any library in php that can help me?
MMarco
  • 21
  • 1
  • 3
2
votes
1 answer

Open-ended tournament pairing algorithm

I'm developing a tournament model for a virtual city commerce game (Urbien.com) and would love to get some algorithm suggestions. Here's the scenario and current "basic" implementation: Scenario Entries are paired up duel-style, like on the…
Mark Vayngrib
  • 974
  • 5
  • 14
1
vote
0 answers

PHP Tournament Bracket System

Happy new year to all!! I'm trying to make starcraft 2 tournament web site for me and friends. i stuck on tournament system. I have a jquery script that makes a bracket but I couldn't figure out how can I implament it with my database and php:( I…
Erdem Ece
  • 1,755
  • 5
  • 22
  • 42
1
vote
1 answer

Constructing a loser's bracket in a seeded double elimination tournament for maximum fairness for N teams

I'm having trouble figuring out an algorithm for constructing a loser's bracket in a double elimination tournament. A naive approach would give something like this But implementing it this way creates a problem: teams could potentially play repeat…
1
vote
1 answer

Is the logic for this 3 player tournament sound? How would I handle a 3 way tie?

I was bored today and was watching Youtube. In one video I saw 3 people competing against each-other in a game of pool to win a prize. We'll list the 3 people as a, b, and c. In the tournament if someone one they got a point, and then competed…
Pylot
  • 233
  • 2
  • 16
1
vote
1 answer

PHP/MYSQL compare/contrast values of an array (soccer tournament schedule)

I'm trying to create a soccer tournament schedule. The problem with this is, that I don't know how to compare or contrast the values ​​in an array. Within an array, every value should be compared to every other value except its own. For example,…
Flodsche
  • 11
  • 4
1
vote
0 answers

How advance groups winners to bracket in a multistage tournament?

Im looking for an algorithm to advance winners from a groups phase to bracket. For example, a tournament with 6 groups (A,B,C,D,E,F) where advance to playoffs top 2 teams each group when round robin stage ends. Brackets must be optimized such that…
aprencai
  • 396
  • 2
  • 10