yagamiapp / web

The web-facing interface to Yagami
https://yagami.app
2 stars 0 forks source link

Automatically generate match times #46

Open JPW03 opened 1 year ago

JPW03 commented 1 year ago

This is obviously currently outside of the scope but could be a really useful tool for hosts

Would require teams to assign themselves to either a time zone or a range of available times.

The algorithm could take the time zones, calculate overlapping UTC times where both teams' time zones are somewhere between 10am and 10pm at the same time.

The algorithm would bias towards local times that are closest to 4pm (the midpoint from 10am to 10pm).

The algorithm could be customisable:

clxxiii commented 1 year ago

I like the idea! Once we're done with the tournament I have much less of a problem venturing out into things that seem out of scope. If you can develop an algorithm that can do these calculations (I have a feeling its going to be more difficult than you're expecting it to be), the rest of it is easy, just adding another column to the Team table & making the necessary endpoints.