Home * Engines * Chezzz

a chess engine by David Rasmussen, which was according to Leo Dijksman [1] and Frank Quisinsky [2] the 100th WinBoard engine. Chezzz played seven consecutive CCT Tournaments, starting in 2001 with the CCT3, until 2007 the CCT9.
Chezzz Playazzz [3]

Thesis Program

Presumably, Chezzz is similar to Rasmussen's thesis program described in detail in his 2004 Master's thesis [4] - concerning board representation and the serial search, while the evaluation of the thesis program is very rudimentary relying on material and piece-square tables only. C++ source code given in Appendix B. Interesting for C++ programmers is Appendix B.12 enums.h with DeclareEnumTricks [5] and forall Macros.


Bitboards are the basic data structure, rotated bitboards with four line arrays indexed by square and 8-bit line occupancy determine sliding piece attacks. BitScan is done with a 16-bit lookup table and up to four conditional cases. The thesis program applies a population count in the Brian Kernighan's way, while Chezzz uses the MMX Swar Popcount as introduced in the AMD Athlon Processor x86 Code Optimization Guide [6], with compatibility issues concerning the 3DNow! psadbw - Packed sum of absolute byte differences - instruction [7].


The program features a YBWC parallel search, sharing the lockless hash table as proposed by Robert Hyatt and Tim Mann [8]. The iterative deepening framework applies aspiration windows of ±1/3 pawn value, PVS with adaptive null move pruning, and history and killer heuristic with thread local memory. The SEE swap algorithm, borrowed from Crafty, is used in move ordering and to prune losing captures in quiescence search. The search is extended in case of checks, recaptures, and pawn moves to the 7th rank, and single replies.

Selected Games


CCT5, Chezzz - Hossa [9]
[Event "CCT5"]
[Site "Internet Chess Club"]
[Date "2003.01.18"]
[Round "-"]
[White "Chezzz"]
[Black "Hossa"]
[Result "0-1"]
1.e4 c5 2.Nf3 Nc6 3.Nc3 e5 4.Bc4 Be7 5.d3 Nf6 6.Nd2 d6 7.Nf1 Bg4 8.f3 Be6 
9.Ne3 Bxc4 10.dxc4 Nd4 11.Qd3 O-O 12.O-O Qd7 13.Ncd5 Nxd5 14.Nxd5 f5 15.Be3 
fxe4 16.fxe4 Bh4 17.c3 Ne6 18.Rad1 Rxf1+ 19.Rxf1 Rf8 20.Rxf8+ Kxf8 21.Qe2 
Qf7 22.Qg4 Bd8 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Qf3 Qc7 10.Bc4 Qe7 11.Qb3 Bxc4 12.Nxc4 b5 13.Nb6 Rb8 14.Be3 Qc7 15.a4 Rxb6 
16.Bxb6 Qxb6 17.Qc3 Bd6 18.Rfd1 Bb8 19.axb5 axb5 20.Qg3 g6 21.Qh4 Qc7 22.Rd3 
Qc8 23.Ra8 Qc7 24.Rc3 Kf8 25.Ra6 c5 26.Rd3 Kg7 27.Rd8 h6 28.Re8 Qb7 29.Ra1 Bc7 
30.Rea8 g5 31.Qh3 Qxe4 32.Qc8 Bd6 33.Qa6 Be7 34.Qxb5 Qxc2 35.Qb8 e4 36.h3 c4 
37.g3 Qd2 38.Qe5+ Bf6 39.Qe8 e3 40.fxe3 Be7 41.Rf1 Qxe3+ 42.Kg2 Qe4+ 43.Kg1 f6 
44.Rf2 h5 45.Ra7 Qe3 46.Qd7 Qxg3+ 47.Rg2 Qe3+ 48.Rf2 Kh6 49.Qc7 Qxh3 50.Ra6 
Qg4+ 51.Kh2 Qd4 52.Rg2 Bc5 53.Qg3 Kg7 54.Kh1 Nh6 55.Ra1 Ng4 56.Re1 Kg6 57.Qf3 
Rb8 58.Qe4+ Qxe4 59.Rxe4 Nf2+ 60.Rxf2 Bxf2 61.Re2 Bd4 62.Re4 Rd8 0-1

See also


Forum Posts




2004 ...

External Links


  1. ^ Congrats to David Rasmussen by Leo Dijksman, Winboard Forum, May 23, 2001
  2. ^ *** 100 *** Chezzz 0.88 by David Rasmussen (Denmark) is available by Frank Quisinsky, Winboard Forum, May 23, 2001
  3. ^ Flickr: photostream by PhunkePixie
  4. ^ David Rasmussen (2004). Parallel Chess Searching and Bitboards. Master's thesis, ps
  5. ^ Find The Bug - C / C++ by David Rasmussen, bytes.com, July 22, 2005
  6. ^ AMD Athlon Processor x86 Code Optimization Guide (pdf) Efficient 64-Bit Population Count Using MMX™ Instructions Page 184
  7. ^ Re: Chezzz 1.0.1 - problem solved - for David Rasmussen by David Rasmussen, CCC, February 05, 2003
  8. ^ Robert Hyatt and Tim Mann (2002). A lock-less transposition table implementation for parallel search chess engines. ICGA Journal, Vol. 25, No. 1, pp. 63-72
  9. ^ Chezzz - Hossa CCT5 by David Rasmussen, CCC, January 18, 2003
  10. ^ CCT7 replay-zone

What links here?

Up one Level