Chessyard
A chess GUI, a chess engine, and the library they share.
Request a feature or report a bug
Knightstand is a desktop chess GUI. Play against an engine, run engine tournaments, analyse games, follow live Lichess broadcasts and search game databases.
Shanna is a UCI chess engine. Use it in Knightstand or any other GUI that supports UCI.
Glue is the header-only C++ chess library behind both.
Knightstand
Knightstand is the part you see: a board surrounded by panels for moves, analysis, openings and games. It can be built for Windows, macOS and Linux.
How it works
Chess engines run as separate programs, and Knightstand talks to them in the two standard engine languages, UCI and XBoard. That means you can add nearly any engine, play against it, have it analyse your games, or set up a tournament between several.
All the panels follow the same game. Step to another move and the analysis, opening explorer and evaluation graph move with you.
Game databases
Knightstand opens PGN files and converts ChessBase and SCID databases. You can search by player, event, date or rating, or find every game that reached the position on the board.
It also has its own database format, designed for billions of games. Games are stored in compressed files that never change, and edits go into a separate journal. A database can be read directly from an ordinary web server, without downloading all of it.
Layouts and themes
Panels can be moved, floated or hidden. There are six ready-made layouts, from a bare board to a wall of live Lichess games, and six color themes besides light and dark.
Shanna
Shanna is the engine: give it a position and it finds a move. It plays standard chess and Chess960.
How it works
- Search: it looks one move ahead, then two, then three, and keeps going deeper until time runs out. Lines that look hopeless are cut short, so the time goes to the promising ones.
- Evaluation: it scores each position with hand-written rules for material, piece placement, mobility, pawn structure, king safety and threats. There is no neural network.
- Threads: several threads can search at once. They share what they find in one table and vote on the final move.
- Tuning: the numbers behind those rules are adjusted automatically, by playing engine matches and by comparing Shanna's scores with a set of already scored positions.
Glue
Glue is the chess code that Shanna and Knightstand have in common, such as how pieces attack, how castling works and how positions are written down. Both programs also check their move generation against the same set of test positions.
Requests and bugs
Log in to request a feature or report a bug.