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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.