Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate submission of ranked match scores #7

Open
3 tasks
NicholasBottone opened this issue Apr 6, 2023 · 0 comments
Open
3 tasks

Automate submission of ranked match scores #7

NicholasBottone opened this issue Apr 6, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@NicholasBottone
Copy link
Member

NicholasBottone commented Apr 6, 2023

Context

The current /submit command takes in 3 parameters: the game being played, the red score, and the blue score. The submit command is potentially prone to typos, or outright cheating (in the event of a 1v1, it is extremely easy for one malicious player to fake the fact that a match ever happened and submit a fake score).

With recent std i/o features added the the game server, score info and game state info can be read in from the console.

Proposal

  • Automatically detect when the match is completed by scanning the game state periodically (use cron job?)
  • Automatically submit the red and blue score properly for the game associated with the server
  • Require that at least 51% of the expected players are on the game server for the score to be submitted (preventing fraud)

Things to consider

May need to differentiate between "restart all" matches and "tournament" matches (started via ready up). Should the /submit command be maintained but with fewer args, or should the command be removed altogether in favor of full automation?
How to deal with penalties that are added after the match ends?

@NicholasBottone NicholasBottone added the enhancement New feature or request label Apr 6, 2023
@NicholasBottone NicholasBottone self-assigned this Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant