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

Add a results api that gives back the winner #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

arthurmelton
Copy link
Contributor

This adds an api endpoint at /api/result that currently only gives back the winning team. This implements a feature where once a game is done it will allow getting the results for 5 minuets or until a new game is started on that port. This should give time for people to press GG in fang while not being being too long for another game to accidentally go on. I also made this the endpoint result and not winner because some other data might want to be sent back (Like some automated tests or a simple anticheat, that would help automate admins having to look through the logs if they could just get all the info instantly).

@arthurmelton
Copy link
Contributor Author

I also though I posted this but just for reference this is for BigBoot/fang#18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant