TODO:
-> user logs in using oauth lichess
-> Retrieve user games using liches API : GET lichess/games/detnop
-> Save games in DB (check if game id already exist)
-> Generate puzzles from games in DB
-> Save puzzles to DB
-> Play puzzles at your level
-> Get a score
-> Train again
-> Add more puzzles from your games to the pool
-> Completely change the pool
-> Import opening studies PGN
-> Parse PGN, avoid transpositions, allow only one move fo each position (FEN)
-> Save to DB
-> Compare to studyopenings to see where you went wrong
Chess logic : https://github.com/shaack/cm-chess
Chess board : https://github.com/shaack/cm-chessboard
PGN to Puzzles : https://github.com/vitogit/pgn-tactics-generator