We’re having a lan party in a couple of days. Having a handful of competitions we were looking for a good way to show people the brackets and at the same time be able to easily edit them.
I came across a website with a neat little jQuery plugin: http://www.aropupu.fi/bracket/
Quickly whipped together a simple working (yet very messy code) example here:
Tournament Brackets [Download]
Once you restore the tables with the sql file included in the zip you can have your fun with them. It’s not entirely secure but this is just a quick example on how to make it work with jQuery, PHP and Ajax.
Cleaning up the code is something I’ll do when I have some time to spare, in the mean time feel free to use the example for your own competitions.
how do i add more players? I can only see Devon with a score of 0 :/
and the site you provided about the jquery, thank you for it’s what i have been looking for.. problem is the site only provides css and js files. Can you provide me more details on how to make the php file?
Could you enlighten me on this? It says allow Set Directory Mode.. I created the data folder already but it still doesn’t save the changes. And I cannot create brackets. I am only using this for reference :)
Is your database set up correctly? Don’t forget to change the credentials in the php file.
You must access the link as “http://127.0.0.1/Tournament/brackets.php?tid=3” to see it and for edit
http://127.0.0.1/Tournament/brackets.php?secretMode=inlanadmin&tid=3.have fun programmers.
how to remove Consolation round?
I worked on a PHP / Laravel plugin that generates brackets with / without preliminary round robin. Maybe it can be useful to you. Here is the github.
https://github.com/xoco70/kendo-tournaments
Hope it helps!