# Sergey Krivoshein's Wins

Game book. The player is Sergey Krivoshein, Lichess name `Sergey_Krivoshein`.
Russian edition: [Победы Сергея Кривошеина](https://sergey.krivoshein.site/).

## What to treat as the source

- `https://sergey.krivoshein.site/games.json` is the full list of wins: the game data, the score, and the final position. It does not store move frames. Both languages use this one file.
- The same list, one slice: `https://sergey.krivoshein.site/api/games?offset=0&limit=24&color=all&q=`.
- One game's frames: `https://sergey.krivoshein.site/api/frames/{id}`.
- The live pages are rendered by the application. `games.json` is its source. `/healthz` tells whether the application is up.
- `https://sergey.krivoshein.site/en/` and `https://sergey.krivoshein.site/` list the same 4051 games, newest first. They are split into pages of 10, 20, 50, or 100.
- Do not add draws, losses, other variants, or games that are not in games.json.
- Do not invent a biography, an age, a place, or comments on the moves.

## Fields

`color` `w` means Sergey played White. `b` means Black.
`result` is from White's point of view, as in the PGN.
`site` is the direct link to the game on lichess.org.
`fen` is the final position. `/api/frames/{id}` returns `frames`: FENs from the start through the final position.
`mate` is the move number of the checkmate. 0 when the win is not a mate: resignation or time. A time forfeit is not a mate.
`opening` is the English opening family, the name before the colon. Empty when the Lichess opening book has no matching position.

## Files

- [English book](https://sergey.krivoshein.site/en/)
- [Russian book](https://sergey.krivoshein.site/)
- [games.json](https://sergey.krivoshein.site/games.json)
- [en/book.html](https://sergey.krivoshein.site/en/book.html)
- [book.html](https://sergey.krivoshein.site/book.html)
- [en/llms.txt](https://sergey.krivoshein.site/en/llms.txt)
- [llms.txt](https://sergey.krivoshein.site/llms.txt)
- [en/llms-full.txt](https://sergey.krivoshein.site/en/llms-full.txt)
- [llms-full.txt](https://sergey.krivoshein.site/llms-full.txt)
