guidopetri / chess-pipeline

Pulling games from the Lichess API into a PostgreSQL database for data analysis.
GNU General Public License v3.0
20 stars 2 forks source link

Berserked flag for arena games #26

Closed guidopetri closed 4 years ago

guidopetri commented 4 years ago

Arena games allow for "berserk", which halves time and removes any possible increment. This is a big deal for short games (and even longer games, since there's no increment), and obviously will affect how players play and what their performance is. It would be useful to have this as a flag in the database for the games that are in arenas.

guidopetri commented 4 years ago

I'm not sure that this is available anywhere; we might have to recognize this by the time left on the clock. However, it might also be available on the JSON endpoint.

guidopetri commented 4 years ago

Bad news: this isn't available on neither the JSON nor the PGN endpoints. The only way to figure this out is by time left on the clock in the first move...

Edit: This also implies that if both players berserk, then neither player berserked. :/

guidopetri commented 4 years ago

Done with 54c1071 , I suppose. It's not very satisfactory to not have the "both berserked" alternative, but I suppose it's true that if both players berserked, it's equivalent of playing a game with different time controls.