Closed (fixed)
Project:
Tournament
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
8 Feb 2012 at 08:04 UTC
Updated:
4 Jul 2012 at 08:56 UTC
A bracket sub module should be implemented for single/double elimination tournaments. Hoping to merge with the Bracket module.
Comments
Comment #1
Dret commentedSubscribe!
Our community would like to use a bracket system for our Main Tournament!
I saw the YouTube tutorial and seems to be very good for Round Robin and Ladder.
We are actually using an old self-made system (plugged into an SMF forum) and we would like to jump into Drupal!
Wesnoth Italian Community 2010 Tournament Edition
Comment #2
fenda commentedShould start to see some code popping up for this over the next week or so.
Hopefully you can help us a bit with bug testing as I'm sure you know, brackets in PHP are not so straight forward.
Oh, and we changed the name for this tournament type to 'knockout'.
Comment #3
Dret commentedYes, of course!!
Thanks!
Comment #4
Dret commentedI'm starting to test the new feature!
I have some problem about configuring the system (consider I have saw all the video tutorial although Bracket is not described into).
I have set the players list and then I start the tournament, but I can't find any option for grouping the players (to set Who vs Who in the first round). And also when the tournament starts: the players list disappear but is not replaced by any "grid" of typical bracket tournament system.
Probably is an early version??
Thanks!
Bye.
Comment #5
fenda commentedThere is no tournament bracket system implemented yet. :)
We plan to implement by May.
Comment #6
Dret commentedSorry!
I read wrong!
:)
Comment #7
fenda commentedThere has been some delays on this. Hope to get the basis out by May but double elimination and fine tuning might not pop up until June.
We moved away from the jQuery plugin above as we've figured out lighter ways to implement this now.
Basing a fair bit of the styling of the brackets on those found at binarybeast.com.
Comment #8
fenda commented@illmasterc
In
_knockout_get_tournament_rounds()we are callingmatch_load_tournament_matches().That function then goes on to load all match nodes, caches them and returns them as objects.
Any changes made to these objects is also reflected anywhere else they are used in the page load. For example, its causing issues in the Match list block on the knockout tournament page view ('Empty match' error).
Specifically the following lines seem to be the culprits:
Comment #9
fenda commented@illmasterc
Comment #10
chrisarusso commentedComment #11
fenda commentedTake a look at a binarybeast bracket and hover over a participant. All occurrences of the participant in the bracket are highlighted. We can do that with classes and a small script.
How did you test with 1024? Do you have some sort of tear script for making brackets? Need to get my hands on that lol.
Comment #12
chrisarusso commentedOkay,
team highlighting is now functional. You may want to change the default color if you don't like it, I made it intentionally standout so it's obvious.
The script for testing a tournament of size 1024 is:
Create users via drush genu (devel)
INSERT INTO tournament_participants SELECT [node_id_of_knockout_tourny],uid,1,unix_timestamp(),1,'' FROM users WHERE uid > 1 limit 1022;In the above I was trying to have 1023 participants and had already added uid = 1
Comment #13
fenda commentedWe've now implemented brackets as a sub module, 'knockout'.
Comment #14
Dret commentedGreat, I'll try as soon as possible!
Thanks!
Comment #15
Dret commentedI made a very early test with knockout... and seems Great!
I'll go deeply in testing the next days!
Amazing "Rank" Seeding method option... including the automatic management of "wildcards" (BYE!).
Thanks a lot... we will give you some feed as soon as possible.
A first suggestion:
- introducing possibility to set a check for "Winner" option instead of numeric score.
Bye!