Home * Engines * Hakkapeliitta

an UCI compatible open source chess engine by Mikko Aarnos, written in C++11/14 and licensed under the GNU General Public License, Version 3. Hakkapeliitta is a state of the art bitboard engine, and performs Magic bitboards to determine sliding piece attacks. Despite using conditional compiled x86-64 processer instructions for bitscan, Hakkapeliitta uses Kim Walisch's forward and reverse bitscans [1]. If the processor does not support hardware popcount, Hakkapeliitta falls back to SWAR-popcount. The search uses function templates to distinguish between PV-nodes and none PV-nodes at compile time [2]. Similar, hardware popcount support is boolean template parameter of evaluation routines [3].
Hakkapeliitta [4]


The term is probably based on the Finnish battle cry "Hakkaa päälle" [5], commonly translated as "Cut them down!". The Finnish cavalryman in the service of King Gustavus Adolphus of Sweden during the Thirty Years' War (1618 to 1648) were called Hackapelit, Hackapelite, Hackapell, Haccapelit, or Haccapelite in the Holy Roman Empire, in the 19th-century modified to Finnish Hakkapeliitta [6] [7].







Thanks from the author to following people or organizations [9]

See also

Forum Posts

External Links

Chess Engine



  1. ^ Hakkapeliitta/bitboard.hpp at master · mAarnos/Hakkapeliitta · GitHub
  2. ^ Hakkapeliitta/search.cpp at master · mAarnos/Hakkapeliitta · GitHub - template <bool pvNode> int Search::search
  3. ^ Hakkapeliitta/evaluation.cpp at master · mAarnos/Hakkapeliitta · GitHub
  4. ^ Hakkapeliitta featured on a 1940 Finnish stamp, Wikimedia Commons
  5. ^ Hakkapeliitta - Wiktionary
  6. ^ Hakkapeliitta from Wikipedia
  7. ^ Military of the Swedish Empire - Wikipedia
  8. ^ based on sources of Hakkapeliitta 2.0
  9. ^ mAarnos/Hakkapeliitta · GitHub - Acknowledgements
  10. ^ Inside Rebel/Prodeo by Ed Schröder
  11. ^ Winglet, Writing a Chess Program in 99 Steps by Stef Luijten, Wayback Machine

What links here?

Up one level