Changes

Jump to: navigation, search

Purple Haze

4,806 bytes added, 00:17, 14 March 2019
Created page with "'''Home * Engines * Purple Haze''' FILE:Purple Haze (Cannabis).jpg|border|right|thumb| Purple Haze flower <ref>[https://commons.wikimedia.org/wiki/File:P..."
'''[[Main Page|Home]] * [[Engines]] * Purple Haze'''

[[FILE:Purple Haze (Cannabis).jpg|border|right|thumb| Purple Haze flower <ref>[https://commons.wikimedia.org/wiki/File:Purple_Haze_(Cannabis).jpg Purple Haze flower], Photo by [https://en.wikipedia.org/wiki/User:HansRoht Hans Roht], May 01, 2010, [https://en.wikipedia.org/wiki/Purple_Haze_%28cannabis%29 Purple Haze (cannabis) from Wikipedia], [https://en.wikipedia.org/wiki/Cannabis_%28drug%29 Cannabis (drug) from Wikipedia]</ref> ]]

'''Purple Haze''',<br/>
a free [[:Category:Open Source|open source chess engine]] by [[Vincent Ollivier]] compliant to the [[Chess Engine Communication Protocol]] and distributed under the terms of the [[Free Software Foundation#GPL|GNU General Public License]] version 3 <ref>[https://github.com/vinc/purplehaze/blob/master/README.md purplehaze/README.md at master · vinc/purplehaze · GitHub]</ref>.
Purple Haze uses some features of [[Cpp|C++11]], so one needs [https://en.wikipedia.org/wiki/GNU_Compiler_Collection#GCC_stable_release GCC >= 4.6] or [https://en.wikipedia.org/wiki/Clang Clang] >= 3.0 <ref>[http://www.talkchess.com/forum/viewtopic.php?t=43028 Purple Haze v2.0.2] by [[Vincent Ollivier]], [[CCC]], March 26, 2012</ref> to compile it.

=Description=
==[[Board Representation]]==
Purple Haze has a [[0x88]] board representation combined with [[Piece-Lists|piece-lists]], and utilizes two [[Array|arrays]] indexed by [[0x88#SquareRelations|0x88 square relations]],
containing either [[Direction|direction]] and boolean information in [https://en.wikipedia.org/wiki/C%2B%2B_Standard_Library#Containers std::bitset<7>] whether a [[Pieces|piece type]] may [[Attacks|attack]] a [[Squares|square]] <ref>[https://github.com/vinc/purplehaze/blob/master/src/board.h github.com/vinc/purplehaze/blob/master/src/board.h]</ref>,
both used for lazy or [[Move Generation#Staged|staged move generation]] concerning [[Legal Move|legality]] of [[Hash Move|hash move]] and [[Killer Move|killers]].

==[[Search]]==
The [[Principal Variation Search|PVS]] implementation <ref>[http://www.talkchess.com/forum/viewtopic.php?t=26974 PVS] by [[Edmund Moshammer]], [[CCC]], March 12, 2009</ref> uses [[Node Types|node type]] as [https://en.wikipedia.org/wiki/Template_%28C%2B%2B%29#Function_templates template parameter], and applies [[Null Move Pruning#AdaptiveNullMovePruning|adaptive null move pruning]], [[Futility Pruning#Extendedfutilitypruning|extended futility pruning]], and [[Late Move Reductions|LMR]] etc. <ref>[https://github.com/vinc/purplehaze/blob/master/src/search.cpp github.com/vinc/purplehaze/blob/master/src/search.cpp]</ref> inside its [[Iterative Deepening|iterative deepening]] framework with [[Transposition Table|transposition table]].

==[[Evaluation]]==
The evaluation features a [[Material Hash Table|material hash table]] and [[Tapered Eval|tapers]] between [[Opening|opening]] and [[Endgame|endgame]] [[Piece-Square Tables|piece-square tables]] <ref>[https://github.com/vinc/purplehaze/blob/master/README.md github.com/vinc/purplehaze/blob/master/README.md]</ref>.

=See also=
* [[Little Wing]]

=Forum Posts=
* [http://www.talkchess.com/forum/viewtopic.php?t=39437 MSVC build of Purple Haze] by [[Dann Corbit]], [[CCC]], June 20, 2011
* [http://www.talkchess.com/forum/viewtopic.php?t=43028 Purple Haze v2.0.2] by [[Vincent Ollivier]], [[CCC]], March 26, 2012
* [http://www.talkchess.com/forum/viewtopic.php?t=45932 Purple Haze v2.1.0] by [[Vincent Ollivier]], [[CCC]], November 10, 2012

=External Links=
==Chess Engine==
* [https://vinc.cc/projects/purplehaze.html Purple Haze]
* [https://github.com/vinc/purplehaze · GitHub - vinc/purplehaze: 0x88 chess engine written in C++]
==Misc==
* [https://en.wikipedia.org/wiki/Purple_Haze_%28disambiguation%29 Purple Haze (disambiguation) from Wikipedia]
* [https://en.wikipedia.org/wiki/Purple_Haze_%28cannabis%29 Purple Haze (cannabis) from Wikipedia]
* [https://en.wikipedia.org/wiki/Purple Purple from Wikipedia]
* [https://en.wikipedia.org/wiki/Haze Haze from Wikipedia]
* [[:Category:Nguyên Lê|Nguyên Lê]] - [https://en.wikipedia.org/wiki/Purple_Haze Purple Haze] - Philips Music World Festival 2004, [https://en.wikipedia.org/wiki/S%C3%A3o_Paulo São Paulo], [https://en.wikipedia.org/wiki/YouTube YouTube] Video
: line-up: [[:Category:Nguyên Lê|Nguyên Lê]], [https://fr.wikipedia.org/wiki/Michel_Alibo Michel Alibo], [http://www.discogs.com/artist/426356-Cathy-Renoir Cathy Renoir], [https://fr.wikipedia.org/wiki/Francis_Lassus Francis Lassus]
: {{#evu:https://www.youtube.com/watch?v=UQYIqgKcMfE|alignment=left|valignment=top}}

=References=
<references />
'''[[Engines|Up one level]]'''
[[Category:Open Source]]
[[Category:GPL]]
[[Category:WinBoard]]
[[Category:XBoard]]
[[Category:Plant]]
[[Category:Nguyên Lê]]

Navigation menu