govariantsteam / govariants

A place to play Go variants
https://www.govariants.com
GNU Affero General Public License v3.0
5 stars 1 forks source link

store some basic game metadata #306

Open benjaminpjones opened 1 month ago

benjaminpjones commented 1 month ago

Stuff like:

Would be useful for filtering, and generally interesting to display in the UI.

merowin commented 1 month ago

I would like to add: result of finished games. This can be derived from the moves, but it would be helpful as filter in db queries. The timeout-handler is one example that would benefit from it.

benjaminpjones commented 1 month ago

Sounds good! For the timeout handler, does it just need to know a game is finished? Or is the result actually important?

I was thinking "date ended" would be good too.

merowin commented 1 month ago

Yeah for the timeout handler, the result is irrelevant, only if the game is finished or not.