Difference between revisions of "P4wn"

From Chessprogramming wiki
Jump to: navigation, search
(Created page with "'''Home * Engines * p4wn''' border|right|thumb|link=http://p4wn.sourceforge.net/| p4wn Web [[GUI <ref>[http://p4wn.sourceforge.net/ p4wn]<...")
 
 
Line 9: Line 9:
 
It used a sort of [[Principal Variation Search|principal variation search]] and a [[Piece-Square Tables|piece-square table]] [[Oracle|oracle]].  
 
It used a sort of [[Principal Variation Search|principal variation search]] and a [[Piece-Square Tables|piece-square table]] [[Oracle|oracle]].  
 
In 2012 it was rewritten for clarity and for performance in modern JavaScript engines. It now uses a plain [[Alpha-Beta|alpha-beta]] search and more sophisticated piece-square tables.  
 
In 2012 it was rewritten for clarity and for performance in modern JavaScript engines. It now uses a plain [[Alpha-Beta|alpha-beta]] search and more sophisticated piece-square tables.  
p4wn plays by all the rules, though it never claims a draw, just makes the offer and tries to avoid draws if it thinks it is winning. It likes to make rash sacrifices when ahead.
+
p4wn plays by all the rules, though it never claims a [[Draw|draw]], just makes the offer and tries to avoid draws if it thinks it is winning. It likes to make rash [[Sacrifice|sacrifices]] when ahead.
 
__FORCETOC__
 
__FORCETOC__
 
=Forum Posts=
 
=Forum Posts=

Latest revision as of 13:21, 24 April 2021

Home * Engines * p4wn

p4wn Web GUI [1]

p4wn,
a quite small open source chess engine by Douglas Bagnall, written in JavaScript, released under CC0 or public domain terms, and hosted on GitHub [2]. It runs in web browsers and as standalone JavaScript engine (though less usefully there, without any UI). The first version was released in 2002 as an entry in a 5k web page competition, and its source code was incomprehensibly succinct. It used a sort of principal variation search and a piece-square table oracle. In 2012 it was rewritten for clarity and for performance in modern JavaScript engines. It now uses a plain alpha-beta search and more sophisticated piece-square tables. p4wn plays by all the rules, though it never claims a draw, just makes the offer and tries to avoid draws if it thinks it is winning. It likes to make rash sacrifices when ahead.

Forum Posts

External Links

References

Up one Level