Chess-related stuff in Raku
use Chess::PGN;
say Chess::PGN.parse: "1. f3 e5 2. g4?? Qh4#";
use Chess::FEN;
say Chess::FEN.parse('rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1');
See the wikipedia article about FEN for more information.
use Chess;
show Chess::startpos;
This requires :
an internet connection (to access the lichess API);- Kitty, or any terminal supporting its graphics protocol
wget
- ImageMagick
- GNU's coreutils (for
basenc
)
- implement rules of the game
- interface Stockfish
- make Board image internally, not relying on lichess
- opening and tactics trainer
- game database management
- translate Chess.js