Chess engine: 4ku 3.1

4ku - a chess engine written in C++ designed to fit into 4,096 bytes. There are two versions of the engine: 4ku, and 4ku-mini.
- 4ku-mini uses source code that is stripped, minified, compressed, and then appended to the launch script. When run, the launch script compiles the source code to a temporary executable and then runs it.
- 4ku is a normal compile of the same source code. It is not stripped so retains support for UCI `setoption`, info strings, and perhaps other quality of life improvements.
4ku and 4ku-mini should be identical in terms of their play, but 4ku's info strings mean it is probably slightly slower and slightly weaker. Despite this, 4ku's ease of use and cross-platform compatibility means it should probably be favoured for use in any circumstance other than being limited to 4,096 bytes.

Rating CEDR=2876 Author:kz04px

v.3.1:
This version of 4ku is playing in the TCEC S25 Swiss event.

10+0.1s:
Score of 4ku 3.1 vs 4ku 3.0: 833 - 774 - 993  [0.511] 2600
Elo difference: 7.9 +/- 10.5, LOS: 92.9 %, DrawRatio: 38.2 %
100+1s:
Score of 4ku 3.1 vs 4ku 3.0: 2322 - 1611 - 3067  [0.551] 7000
Elo difference: 35.4 +/- 6.1, LOS: 100.0 %, DrawRatio: 43.8 %


Individual statistics: 4ku 3.0 - 229 games (+ 41,= 39,-149), 26.4 %
Critter 1.6a                  :  10 (+  0,=  1,-  9),  5.0 %
Hopper 1.7                    :   2 (+  2,=  0,-  0), 100.0 %
Fisherov chess monk 1.2       :   6 (+  0,=  1,-  5),  8.3 %
Seer 2.6                      :   2 (+  0,=  0,-  2),  0.0 %
CDrill 2000                   :   2 (+  2,=  0,-  0), 100.0 %
MadChess 3.2 beta             :   2 (+  1,=  0,-  1), 50.0 %
Stockfish 15.1                :   8 (+  0,=  1,-  7),  6.2 %
Axon 0.2                      :   1 (+  1,=  0,-  0), 100.0 %
Raven 1.30                    :   2 (+  2,=  0,-  0), 100.0 %
Protej 0.6.4                  :   4 (+  1,=  1,-  2), 37.5 %
Rebel 16.2                    :   4 (+  0,=  0,-  4),  0.0 %
Wasp 6.50                     :   2 (+  0,=  0,-  2),  0.0 %
Clovis III                    :   4 (+  1,=  2,-  1), 50.0 %
Captain 4.0                   :   2 (+  2,=  0,-  0), 100.0 %
Pawn 1.0                      :   2 (+  0,=  0,-  2),  0.0 %
Komodo 14.1                   :   2 (+  0,=  0,-  2),  0.0 %
Arasan 23.5                   :   4 (+  0,=  1,-  3), 12.5 %
Knightx 3.7b                  :   4 (+  3,=  1,-  0), 87.5 %
Altair 2.0.0                  :   2 (+  0,=  0,-  2),  0.0 %
Jangine 2023-03-31            :   4 (+  4,=  0,-  0), 100.0 %
MrBob 1.2.0                   :   6 (+  0,=  0,-  6),  0.0 %
Tenax 0.7.9                   :   2 (+  0,=  0,-  2),  0.0 %
Caissa 1.8                    :  10 (+  0,=  0,- 10),  0.0 %
SFT 26.04.2023                :   2 (+  0,=  0,-  2),  0.0 %
CatroPOLY 1.7 20230505        :   2 (+  0,=  0,-  2),  0.0 %
CorChess dev-20230504         :   2 (+  0,=  0,-  2),  0.0 %
KnightX 3.7b                  :   2 (+  2,=  0,-  0), 100.0 %
Polyfish 230426               :   2 (+  0,=  0,-  2),  0.0 %
Stockfish dev-20230503 Ivec   :   6 (+  0,=  0,-  6),  0.0 %
Stockfish dev-20230503        :   4 (+  0,=  0,-  4),  0.0 %
Polaris 1.6.1                 :   2 (+  0,=  2,-  0), 50.0 %
Bagatur 3.7c                  :   6 (+  0,=  4,-  2), 33.3 %
Viridithas 9.0.0              :   2 (+  0,=  0,-  2),  0.0 %
Vengeance 2.0.0               :   4 (+  1,=  1,-  2), 37.5 %
Midnight 6                    :   8 (+  1,=  2,-  5), 25.0 %
Vafra 12.4 Cfish              :   4 (+  0,=  0,-  4),  0.0 %
ShashChess GZ                 :   4 (+  0,=  0,-  4),  0.0 %
Ice4 v3                       :  10 (+  3,=  4,-  3), 50.0 %
Kuma 1.1                      :   6 (+  0,=  2,-  4), 16.7 %
Apotheosis 4.0.1              :   8 (+  3,=  3,-  2), 56.2 %
Fire 5032023                  :   4 (+  0,=  0,-  4),  0.0 %
Ippolit 051323                :   4 (+  0,=  2,-  2), 25.0 %
Velvet 5.2.0                  :   2 (+  0,=  1,-  1), 25.0 %
Willow 2.8                    :   2 (+  1,=  0,-  1), 50.0 %
Akimbo 0.3.0                  :   2 (+  1,=  1,-  0), 75.0 %
Princhess 0.11.0              :   2 (+  2,=  0,-  0), 100.0 %
QuintBot 1.2.0                :   2 (+  2,=  0,-  0), 100.0 %
Axon 0.3                      :   2 (+  2,=  0,-  0), 100.0 %
Drofa 4.0.0                   :   2 (+  0,=  0,-  2),  0.0 %
NIppolit                      :   4 (+  1,=  2,-  1), 50.0 %
Fire 4292023                  :   2 (+  0,=  0,-  2),  0.0 %
Flounder 0.5.0.0              :   2 (+  0,=  1,-  1), 25.0 %
Roc 2.0.0                     :   6 (+  0,=  3,-  3), 25.0 %
Fire NN 5162023               :   2 (+  0,=  0,-  2),  0.0 %
ShashChess 32                 :   2 (+  0,=  0,-  2),  0.0 %
Polyfish 230510               :   2 (+  0,=  0,-  2),  0.0 %
Crystal 6 PMT                 :   2 (+  0,=  0,-  2),  0.0 %
Fire Zero 5192023             :   2 (+  0,=  0,-  2),  0.0 %
Stockfish dev-20230520 Ivec   :   2 (+  0,=  0,-  2),  0.0 %
CorChess dev-20230521         :   2 (+  0,=  0,-  2),  0.0 %
SFT-BIN-CTG                   :   2 (+  0,=  0,-  2),  0.0 %
Little Beast 2 sl             :   4 (+  0,=  0,-  4),  0.0 %
Raid v1                       :   2 (+  0,=  0,-  2),  0.0 %
Polaris 1.6.0                 :   6 (+  2,=  1,-  3), 41.7 %
nIPPOLIT                      :   4 (+  1,=  2,-  1), 50.0 %


Comments

Popular posts from this blog

We already have the new Fritz 20 program - what does it look like and how does it work?

Stockfish 250702 wins Android Chess Engines Tournament, 2025.08.03-04