Jump to content

Tournament bracket


onthespot

Recommended Posts

So I want to create a tournament bracket like this http://www.baggo.com/images/sub/tournamentBracket.jpg

 

The idea is that I can select the amount of users I want (2,4,8,16,etc).

Then when I have added all the users in, each fixture will be entered into the database.

When there is a winner, they will go through to the next round and so on.

 

How can I achieve this? Really struggling to come up with a way to do this!

Link to comment
https://forums.phpfreaks.com/topic/200096-tournament-bracket/
Share on other sites

So i came up with an idea of storing the information like the following

 

Tournament

  Name

  Size

 

Players

  Tournament

  Name

  Position (0 to (tournament.size - 1))

 

Rounds

  Tournament

  Round

  Position (max halves for each round)

  Winner (player position)

 

I cant think how I could move this on and make the players progress to the next round?

Anyone got any further ideas for me?

 

 

Link to comment
https://forums.phpfreaks.com/topic/200096-tournament-bracket/#findComment-1050952
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.