top of page

OliThink - Oldie Goldie

A chess engine with more than a quarter-century of history. Its origins date back to the 1990s. Unusual, with almost no chess knowledge, playing with a strength of 3025 Elo!

OliThink is a free open source chess engine by Oliver Brausch, written with C and Java versions available; license: MIT.

Looking from a programmer's point of view, almost all chess engines are written in a similar way: they contain from several to dozens of files which results in thousands - tens of thousands of lines of source code and a huge number of functions, procedures, subroutines, etc. In short: they are complex programming creations.

OliThink consists of... a single file, which contains within it all the source code needed to build the engine. It is an incredibly fast chess engine capable of counting hundreds of millions (!) of moves in just one second.

Quoting the author:


One of the main aims was to create a strong engine with minimalistic and clear code. OliThink has no chess knowledge except mobility. The size of the source code has never exceeded 50kByte. Everything in the code is unique, there is no copy of other engines.


Source: GitHub

This small in size but powerful in strength OliThink is so well written by Mr. Oliver Brausch that it can easily be compiled under probably any architecture that supports C or Java, allowing fans of different operating systems to enjoy this chess engine.


Complete rewrite of OliThink with a very fast move generator (based on OliPerft). Engine runs without any chess information. No pawnstructure, no tables etc.


Source: OliThink home page.

In the MCERL competition (ongoing), the latest version of OliThink-5.10.1 playing on a fast MacBook Pro with an Apple Silicon CPU reached a strength of 3025 Elo.

According to the CCRL rating list, the previous version of OliThink-5.9.7 received 2868 Elo.

Source: CCRL

Below are examples from two games in which OliThink has faced other engines playing at levels higher than 3000 Elo.

White has Avalanche, which is the first and strongest chess engine written in the Zig programming language.

For the price of one Pawn, OliThink has gained a promising position in which it has the initiative.

Avalanche plays the innocuous 17.c3?? with the goal of reinforcing the white Pawn standing on the d4 field, which is attacked by the black Queen and Knight.

Unfortunately, this is a dramatic miscalculation when the opponent is such a fast counting engine as OliThink.

Black with the help of only a few forcing moves plunges white. After playing the black Rook and expelling the white Queen, there is a beautiful move by the black Knight to the h4 field, 18...Nfh4!

If the white Queen moves away, the game ends with the white King's mate. Avalanche accepts the sacrifice of the black Knight. Events are moving quickly. After only 21 moves, OliThink achieves a decisive advantage. Avalanche put up hopeless resistance for several more moves.

A short and nice game in which OliThink showed his tactical skills.

Downloadable game in PGN format.

Avalanche 1.2.0 vs OliThink 5.10.1
Download ZIP • 1KB

In the next game, OliThink's opponent is chess engine Winter, a demanding and relentless player with a strength of 3147 Elo.

This game is somewhat similar to the one previously discussed, as black sacrificed Pawn to gain initiative and attack. And this time it was accomplished by Winter. Let's see how OliThink dealt with Winter's massed downright frenzied attack.

Winter played 21...Bh4? attacking the white King's position putting pressure on the white Pawn on the f2 square, which is weak at this moment.

OliThink strengthens the white king's defense and brings the Queen into his vicinity.

Winter introduces a second black Bishop into the scene, however, the whites remain calm and play according to a precise defense plan.

Black continues to increase the pressure, throwing all forces into a direct attack on the white King's position.

Here is an example of how important and effective it is to properly secure the King. The five strongest black figure attacks exert tremendous tension. OliThink disorganizes the black attack, advancing the white pawn farther and farther up to the d6 square.

Winter takes a desperate action to break down the white King's defenses 34...Bxg3!. It sacrifices Bishop, but OliThink defends himself toughly.

After that, there is a reduction of material on the chessboard. OliThink clarifies his decisive advantage.

Few more moves. Winter is down two figures; OliThink emerges victorious from this hard battle.

An excellent game by both players. Winter took his chances, and would have had a good shot at victory had OliThink made even the slightest mistake. Unfortunately for Winter, OliThink played in an extremely tough and composed manner.

Downloadable game in PGN format.

OliThink 5.10.1 vs Winter 1.0
Download ZIP • 2KB

OliThink is a real badass among chess engines Oldie goldie!

I invite you to download OliThink.

Android – Compiled by Archimedes

Download ZIP • 168KB

Linux ARM – Compiled by Darius

Download ZIP • 58KB

Linux x64 – Compiled by Oliver Brausch

Download ZIP • 62KB

Mac Apple Silicon & Intel – Compiled by Darius

Download ZIP • 62KB
Download ZIP • 65KB

Windows – Compiled by Oliver Brausch

Download ZIP • 55KB


bottom of page