louisdewar / doxa

The OLD version of DOXA (for the new version see https://doxaai.com) A customisable platform for creating fully automated AI 🧠 competitions.
https://doxa.uclaisociety.co.uk
14 stars 2 forks source link

Change semantics of start_time + improve get_participants_ordered #36

Closed louisdewar closed 2 years ago

louisdewar commented 2 years ago

Make start_time = the time the start event was created. If the start_time is null then it should mean that the game has been queued but not started. Maybe add a queued_time.

Also if we're changing the schema at the same time probably make it so that get_participants_ordered no longer requires this start event (it shouldn't anyway). Probably the best way to go about this is to add an order field to the game_participants table.

louisdewar commented 2 years ago

While making these changes it might be nice to improve the error handling when there's a startup error in a game, probably want to emit _START then _ERROR then _END

louisdewar commented 2 years ago

While making these changes it might be nice to improve the error handling when there's a startup error in a game, probably want to emit _START then _ERROR then _END

This will have to be done later, it's a bit more complicated (a hassle)