First of all, right now I am using an account connected to my email, and the program uses a personal API access token to play games with it. Eventually I want to be using an OAuth2 session instead, which I will need to do some digging around (and we might need a server to host AnotherChess clients and forward their requests through that?)
This will also come with users being able to authenticate using their own Lichess accounts.
For reference:
Using berserk, it handles the board events stream, which sends JSON in this fashion:
Corresponding Lichess API page:
So guessing we're going to have to do some FEN parsing, which should be handled through the pychess API.
starting a game, closing the application, and reopening the client will connect you back to your old game in Lichess, but not in the AnotherChess client.
Server-client board discrepancy (linked to above)
If gameStateStream thread is daemon, does it terminate when eventStream does?
Drawing and other actions will increase complexity, can be handled in client.py probably
njson sent in gameState is not as expected. How to request time data?
advanced: maybe someday have simul feature. IIRC there is ongoing games per user that can be used, but local storage will need to be sorted among other things
better way to protect against illegal moves other than onlineTurn
First of all, right now I am using an account connected to my email, and the program uses a personal API access token to play games with it. Eventually I want to be using an OAuth2 session instead, which I will need to do some digging around (and we might need a server to host AnotherChess clients and forward their requests through that?)
This will also come with users being able to authenticate using their own Lichess accounts.
For reference:
Using berserk, it handles the board events stream, which sends JSON in this fashion: Corresponding Lichess API page:
So guessing we're going to have to do some FEN parsing, which should be handled through the pychess API.