Skip to content

Add a results api that gives back the winner#5

Open
arthurmelton wants to merge 1 commit intoBigBoot:masterfrom
arthurmelton:ResultsAPI
Open

Add a results api that gives back the winner#5
arthurmelton wants to merge 1 commit intoBigBoot:masterfrom
arthurmelton:ResultsAPI

Conversation

@arthurmelton
Copy link

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
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