afk-chess
v0.2.1
Published
Correspondence chess against a friend, one move at a time. A terminal game for the afk-arcade. npx afk-chess
Maintainers
Readme
afk-chess
Correspondence chess against a friend, one move at a time — a game for the afk-arcade to play while your AI agent finishes the job.
npx afk-chessThe rules
Full FIDE chess: castling, en passant, promotion, checkmate, stalemate, fifty-move rule, threefold repetition, insufficient material. Nothing simplified.
There is no clock. Make your move, close the terminal, come back whenever — the match waits for you.
Making a move
Type a move in from+to form, like e2e4. Promoting adds the piece
letter: e7e8q promotes to a queen.
| command | does |
|---|---|
| resign | forfeit the match |
| draw | offer a draw |
| accept | accept your opponent's draw offer |
A typo never reaches the network — it's checked against the legal moves first, so it costs nothing.
Sign in
afk-chess needs a GitHub sign-in the first time you run it, so a match can
find you by handle and follow you between terminals. Follow the device-code
prompt once; after that you're remembered — then pick a friend from the
list to start a match.
MIT
