From Chessprogramming wiki
Jump to: navigation, search

Home * Engines * Warrior

The Golden Warrior [1]

a Chess Engine Communication Protocol compliant chess engine by Aleksandrs Saveljevs, written in C. Version 1.0.0 was the first public release in August 2006. In 2007, Warrior played the 6th International Open Polish Computer Chess Championship at the Technical University of Łódź over the board.



Board Representation

During its development, Warrior evolved from mailbox to bitboards and uses rotated bitboards to determine sliding piece attacks. BitScan and Population Count were written in x86 Assembly.


Warrior performs a principal variation search with AEL-pruning, check, recapture, and passed pawn extensions inside an iterative deepening framework without aspiration, using two transposition tables with different replacement schemes even in quiescence search.


Starting with incremental updated material balance and piece-square table scores, the evaluation function became more sophisticated over the time, with focus on king safety and pawn structure.

Selected Games

IOPCCC 2007, round 3, Sierżant - Warrior

[Event "IOPCCC 2007"]
[Site "Lodz POL"]
[Date "2007.06.29"]
[Round "3"]
[White "Sierzant"]
[Black "Warrior"]
[Result "0-1"]

1.e4 e6 2.d4 d5 3.e5 Ne7 4.Nf3 b6 5.Bd3 Nd7 6.O-O c5 7.Nc3 Nc6 8.Bb5 Bb7 
9.Bf4 Be7 10.dxc5 Bxc5 11.a3 O-O 12.b4 Be7 13.Bxc6 Bxc6 14.Nd4 Rc8 15.Qg4 
Re8 16.Rab1 Nf8 17.Bd2 Bb7 18.Rb3 Rc4 19.Nce2 Qc7 20.f4 Ng6 21.Rh3 Nf8 
22.Rb3 a6 23.Rd1 Ng6 24.Qh5 Qc8 25.Rh3 h6 26.Rg3 Bd8 27.f5 exf5 28.e6 
Rxe6 29.Nxe6 Qxe6 30.c3 Rh4 31.Qf3 Bc7 32.Nd4 Qe4 33.Rh3 Qxf3 34.Nxf3 Rxh3 
35.gxh3 Bc8 36.Kg2 Kf8 37.Be3 Bd7 38.Rd4 Bc6 39.h4 Ke7 40.h5 Ne5 41.Bf4 
Ke6 42.Rd1 Kf6 43.Kg3 Bd6 44.Nxe5 Bxe5 45.Bxe5+ Kxe5 46.Re1+ Kf6 47.h4 Ba4 
48.Kf4 Bd7 49.Re5 Be6 50.Re2 Bd7 51.Rd2 Ke6 52.Rd1 Bc6 53.Rd3 b5 54.Rd2 
Kf6 55.Ke3 Ba8 56.Kd4 Ke7 57.Ke5 f6+ 58.Kxf5 Kf7 59.Kf4 Bc6 60.Ke3 Bb7 
61.Kd4 Bc6 62.Kc5 Bb7 63.Kb6 Ba8 64.Kxa6 Bc6 65.Kb6 Be8 66.Rxd5 Ke6 67.Kc5 
Ke7 68.Kd4 Bd7 69.Rc5 Ke6 0-1

See also

Forum Posts

External Links

Chess Engine


feat.: Micah Thomas, Daryl Johns and Kweku Sumbry


  1. The Golden Warrior from the Issyk kurgan, Image by Derzsi Elekes Andor, August 18, 2019, Wikimedia Commons
  2. Description based on warrior-1.03.zip\warrior_103\doc\ChangeLog.txt from Engine Download List from Ron Murawski's Computer-Chess Wiki

Up one Level