beyond-all-reason / teiserver

Middleware server for online gaming
https://www.beyondallreason.info/
MIT License
47 stars 47 forks source link

Make minimal game duration to treat game as ranked configurable, lower default 180 -> 90 #271

Closed StanczakDominik closed 3 months ago

StanczakDominik commented 3 months ago

Fixes #214.

Relevant discussion in https://discord.com/channels/549281623154229250/855772061095559179/1210540660604538951

Basically, some 1v1 games do legitimately conclude before 3:00, notably 2:33 is a reported today timing to shut down a comm drop. Also tick/rover rushes. This keeps coming up on the discord. 90s should be pretty optimal. And if it isn't, well, it's now configurable so we can just change the duration :)

Tested to not blow up the site, not tested in-game yet.

StanczakDominik commented 3 months ago

Tested to work. I played two matches on the integration server, resigned at 60s in one of them, resigned at 120s in the other. Both show up in https://server5.beyondallreason.info/teiserver/admin/matches/user/44674 (which does not take ratings into account), only the latter shows up in https://server5.beyondallreason.info/teiserver/admin/users/ratings/44674 (which does).

Greenlighted by Borg