inker / draw

⚽ Champions League draw simulator
https://inker.github.io/draw/
226 stars 67 forks source link

import teams and groups help wanted #79

Open stratis63 opened 5 years ago

stratis63 commented 5 years ago

The SW can serve also other tournament draws in a nice visual form but the user should be able to define the parameters like 1) Number of teams (Max 16) 2) the number of Pots (Max 4) 3) the number of Groups 4) An empty background as we need to connect the PC with a tv to have the draw as a show? 5) the Sport Any help and guidance So basically I need to open a file and write the teams that are maong the ones below then chose the number of pots 1 to 4 then the number of groups 1 to 4 then the sport

inker commented 5 years ago

Hey @stratis63 . This is the next step. I'm planning to convert the site to the general draw simulator. CL (EL, etc) draws will be moved to the dedicated examples page.

stratis63 commented 5 years ago

HI @inker I have an event in 15 days and I can sponsor the faster development of the SW that could serve Beach Soccer Beach Handball Beach Volley so three thinks to be added 1) a background 2) Teams and a pots 3) number of Groups and teams per Group

We do have a known amount of teams (Countries) max 16 We do have teams in pots (Groups) depends on each sport but max 3 We do form groups and then I have a random selection of a team that goes in each group , Its very much like the SW you have but needs a clean background. Let mw know if this is feasible

On Fri, May 10, 2019 at 1:36 PM inker notifications@github.com wrote:

Hey @stratis63 https://github.com/stratis63 . This is the next step. I'm planning to convert the site to the general draw simulator. CL (EL, etc) draws will be moved to the dedicated examples page.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/inker/draw/issues/79#issuecomment-491243718, or mute the thread https://github.com/notifications/unsubscribe-auth/AL63BZOMBLQZKIX6XFSQ7JTPUVF3ZANCNFSM4HL4DYNQ .

--

Stratis Telloglou

stratis63 commented 5 years ago

Hey @stratis63 . This is the next step. I'm planning to convert the site to the general draw simulator. CL (EL, etc) draws will be moved to the dedicated examples page.

Hi Inker, Great news, But I think this will be done, after my event 4th of June, Any ideas who could help to adjust this to a preset number of countries (even if I have to finance the effort

ccmccloskey commented 4 years ago

Hi @inker, this I suspect will be related to the general draw simulator you mentioned - but the ability to pass in a custom set of teams into each of the pots for each of the CL, EL and World Cup draws, but which still adhere to the underlying rules of that draw would be useful.

I've forked the repo to have a closer look but assuming all of the business logic for each of the draws are handled in engine, would this be feasible?

I suppose one stumbling block might be the overhead of maintaining various relationships between clubs that relate to certain rules (e.g. pairings.json), but maybe you could leverage an API such as this one perhaps - https://www.api-football.com/documentation#endpoints-teams which would negate the need to maintain this in the source code.

If you're happy with the idea in principle I can draw up some basic design changes I'd have in mind to the UI and you can let me know your thoughts. I'd be keen to contribute on this.