mirror of
https://github.com/navanchauhan/swift-chess-neo.git
synced 2026-04-02 23:58:46 -06:00
Add UCI chess engine support #5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @navanchauhan on 9/15/2025
Summary
Implement Universal Chess Interface (UCI) support so the Swift engine can plug into popular chess GUIs.
Goals
Plan
uci,isready,position,go,stop,quit, etc.positioncommands (FEN + move list) into engine state.Hash,Threads,Contempt,Ponder).goparameters (time controls, movestogo, depth, nodes, mate, infinite).stop,ponderhit, anducinewgamesemantics cleanly.infolines (depth, seldepth, score, nodes, nps, pv, hashfull).bestmove(and optionalponder) when searches conclude.Testing