Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
How do we feel about a re-write of Tournament for Drupal 8? Personally I would like the module to have a lot more flexibility as it makes way too many assumptions. We could strip out a lot of the advanced features and just keep the bare minimum for organizing tournaments. Any thoughts on this?
Comments
Comment #1
Eysteinh CreditAttribution: Eysteinh commentedFenda I would really for a drupal 8 tournament script that has more flexbility. In general there are very few ladder / league scripts out there that allows for fight for all match types or that are fitted for other type of games than mainstream. For example 4x games like Civilization (Having several million players) uses multiplayer concepts like the fight for all, for example with 8 players. For this to work you need a league script that allows 1 player to report say it came in at first place, one came in at second, third etc and then other uses confirming these results. The losses should be distributed with 1st place winning vs everyone else, 2nd place loosing only to 1st place and winning vs rest etc.
Are you still interested in this?
Comment #2
globaltask CreditAttribution: globaltask commentedHi Fenda,
maybe we can give you some help.
How would you like to proceed ?
Comment #3
fenda CreditAttribution: fenda commentedI think a good place to start is that we go through the current Drupal 7 module functionality and see what can be stripped out or generalized.
I think we should try to ensure complete compatibility with:
The module should only offer the bare minimum which would allow for creating different types of tournaments and matches. I even think we could strip out Teams and open it up to allow any type of entity to be a participant. That way, other modules such as Organic Groups (although no D8 port soon..) could be used instead. Alternatively, someone could create a new content type of Teams with a multi-value user reference field - that is basically the same as what Teams do in our D7 module anyway.
Comment #4
FallenRiteMonk CreditAttribution: FallenRiteMonk commentedHy,
I'm interested in seing this/such a module on drupal 8. What is the current state of this port? Has any work been done? Is any work going to be done?
Could you please update me on the state.
Thanks and greetings
Comment #5
fenda CreditAttribution: fenda commentedHey @FallenRiteMonk,
No work has been done yet for a Drupal 8 port and unfortunately I currently do not have plans to start anytime soon. It'd be a big undertaking for sure.
Comment #6
simon_j_nichols CreditAttribution: simon_j_nichols commentedI would suggest looking hard a the design stage at how to leverage other Drupal modules. One of the things that struck me when I was going through the D7 modules was just how stand alone it all was.
The obvious candidate I would suggest would be a D8 version of Date especially Date Popup API (I think the date field is going to be in core but not sure about the full set of sub-modules), and I am sure there would be other infrastructure and field presentation modules which would add enormous value to the module.
This probably means waiting until we have a stable(ish) D8 ecosystem and I gotta say I am not exactly looking forward to having to learn Drupal 8 object programming.
Comment #7
youkho CreditAttribution: youkho commentedI would love to see this module take some ideas from Tourney module.
Comment #8
nuezI would like to help you with the Drupal 8 version but I most likely need your help. I think it's important to first get the architecture right: the entities, bundles, classes and methods that allow us to create any type of tournament (round-robin), here's a start:
Entities
Tournament
Tournament-Match (aka tie, fixture, heat)
Game Match (aka rubbers, legs)
Participants
Tournament entity
- Properties
-- Tournament type
-- Participant
- Fields
-- Title
- Methods
-- generateFixtures
-- generateMatches
Fixture
- Properties/fields
-- Game Match Reference
Match
- Properties
-- Participant Home
-- Participant Away
-- Date
- Fields
Participant
- Properties
- fields
--User reference
--Team title
--Description
Tournament types to be taken into account (not to be implemented necessarily)
* Implemented by Drupal 7 Tournament
I've set up a Google Drive document to further discuss this:
https://docs.google.com/document/d/16iUxcq8RqzzRJ2sdN74QMT8LgbiSuz85uOVD...
Comment #9
fenda CreditAttribution: fenda commented@neuz We can probably simplify further. Let's think about the bare minimum requirements for this module as a starting point:
Based on that, a simple architecture would be:
That's my 2 pence anyway!
Comment #10
nuezThanks @Fenda,
I've started development of the D8 version of the module, with the following focus:
The idea is to get the general architecture right, so it doesn't matter which workflow we give it, if the objects relate to each other correctly, and the methods and interfaces are there, then we can built the UI around it (and maybe add a RESTful API for uploading scores and all that). About rendering the different brackets, you're right: that could well be the difficult bit, as long as we use the proper theme functions so people can customize themselves, I wouldn't bother to make it look nice.
I hope to upload the first version within the next month or so, I'll keep everyone updated
Comment #11
btriest CreditAttribution: btriest as a volunteer commentedHello @Nuez and @Fenda,
I see already great progress in the Tournament Module. I think it wil be a great to have this module in drupal 8. To be honest i am just understanding a little bit about the creation of modules in drupal 8 and just started to be part of the drupal-community, but i would like to contribute (testing/documention?) and learn by practice. So if you need help....
Comment #12
olimejj CreditAttribution: olimejj commentedHow has this project been going? I am using Drupal 8 right now to build a tournament sites and stumbled on this. Once looking at the current progress I may be interested in picking it up and pushing it forward a bit.
Thanks for your help.
Comment #13
fenda CreditAttribution: fenda commentedHey @olimejj - as far as I am aware there hasn't been any progress made with a Drupal 8 version of this module. You'd be starting off from scratch.
For a slightly less integrated experience, but quicker implementation, you could look into 3rd party services and embed them in your site. Such as BracketCloud or Challonge.
Comment #14
olimejj CreditAttribution: olimejj commentedThanks for the speedy reply! I have looked at Challonge before and I like it however I am looking for an integrated experience. Currently I'm trying this module out in 7 and looking at its features to see if its something I would want to use. I'll let you know if I decided to do anything with it.
Comment #15
nuezI'm sorry I didn't follow through with this: I have started development a while ago on github, but nothing elaborate enough to publish as a module,
https://github.com/nuez/tournament
Maybe you can use it as your starting point.
Comment #16
montag64 CreditAttribution: montag64 at Red Ridge Digital commentedWould also be interested in this as well. Any update?