hgducharme / lichess-bot

A middle-man between your chess engine and lichess.com
GNU General Public License v3.0
1 stars 0 forks source link

On bootup, check if there's any games currently ongoing and gracefully initialize them #3

Closed hgducharme closed 1 year ago

hgducharme commented 1 year ago

According to lichess API, when the event stream is established, lichess will send over all current games and challenges, so we would just need to establish the connection and read in the current games and challenges, and handle the game states accordingly

hgducharme commented 1 year ago

this already happens. Lichess API will send you "gameStart" events when you connect to them for games that are currently in progress