ChessWorld.net LogoChessWorld.net, founded in 2000, is an online chess site.
If you would like to play relaxed, friendly online chess, then...
or

📚 Chess Courses – Openings, Tactics, Middlegame, Endgames

What are Chess Engines? Stockfish, Leela & The UCI Protocol

Today, a free chess app on your smartphone can defeat the World Champion. But it wasn't always this way. The history of chess engines is a history of computing itself. From the early days of "Deep Blue" battling Garry Kasparov to the modern era of Neural Networks that "hallucinate" beautiful sacrifices, chess engines have fundamentally changed how the game is played, studied, and understood.

What is a Chess Engine?

A chess engine is strictly the command-line program that calculates moves. It does not have a board, pieces, or graphics. It takes a position (usually in FEN string format), calculates millions of possibilities, and outputs the best move. To use an engine, you typically need a GUI (Graphical User Interface) like ChessBase, Fritz, or a web interface like ChessWorld.net.

The Two Giants: Stockfish vs. Leela

In the modern era, two distinct types of technology dominate the TCEC (Top Chess Engine Championship):

1. Stockfish (The Calculator)

Stockfish is the undisputed king of chess engines. It is open-source, free, and universally accessible.

2. Leela Chess Zero (The Artist)

Leela (Lc0) is an open-source project based on DeepMind's AlphaZero. It taught itself to play chess from scratch by playing millions of games against itself.

Understanding the UCI Protocol

How does the engine talk to your screen? This is done through the Universal Chess Interface (UCI). This standard protocol allows any engine to run on any interface. Whether you use Scid vs. PC, ChessBase, or a mobile app, the UCI protocol handles the conversation:

"Best move is e4. Evaluation is +0.35. Depth is 24."

Key Engine Terms You Should Know

Depth
How many "ply" (half-moves) ahead the engine sees. Depth 20 means the engine is looking roughly 10 full moves ahead.
Nodes per second (NPS)
The speed of calculation. Stockfish might calculate 10,000,000 nodes per second, while Leela might only calculate 40,000, but Leela's nodes are "smarter."
Tablebases
Perfectly solved endgame databases. If 7 or fewer pieces remain on the board, the engine doesn't calculate; it simply looks up the result (Win/Draw/Loss) instantly.

History: From The Turk to AlphaZero

Computer chess began with illusions like "The Turk" (a human hiding in a box). Real progress began in the 1950s with Alan Turing. The turning point was 1997, when IBM's Deep Blue defeated Garry Kasparov, proving machines could beat masters. The next revolution came in 2017 with AlphaZero, which proved AI could "learn" chess without human input.