Difference between revisions of "P4wn"
GerdIsenberg (talk | contribs) (Created page with "'''Home * Engines * p4wn''' border|right|thumb|link=http://p4wn.sourceforge.net/| p4wn Web [[GUI <ref>[http://p4wn.sourceforge.net/ p4wn]<...") |
GerdIsenberg (talk | contribs) |
||
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
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.
Contents
Forum Posts
- JSUCI 1.0 - connect javascript chess engines to UCI by Edmund Moshammer, CCC, March 28, 2014 » UCI
- ChessGUI (current version) and JavaScript engines part I by Norbert Raimund Leisner, CCC, August 23, 2017 » ChessGUI
- Arena GUI and rules infraction by P4wn Chess - JSUCI by Norbert Raimund Leisner, CCC, November 08, 2017 » Arena