Changes

Jump to: navigation, search

P4wn

2,342 bytes added, 13:19, 24 April 2021
Created page with "'''Home * Engines * p4wn''' border|right|thumb|link=http://p4wn.sourceforge.net/| p4wn Web [[GUI <ref>[http://p4wn.sourceforge.net/ p4wn]<..."
'''[[Main Page|Home]] * [[Engines]] * p4wn'''

[[FILE:p4wn.jpg|border|right|thumb|link=http://p4wn.sourceforge.net/| p4wn Web [[GUI]] <ref>[http://p4wn.sourceforge.net/ p4wn]</ref> ]]

'''p4wn''',<br/>
a quite small [[:Category:Open Source|open source chess engine]] by [[Douglas Bagnall]], written in [[JavaScript]], released under [https://en.wikipedia.org/wiki/Creative_Commons CC0] or [https://en.wikipedia.org/wiki/Public_domain public domain] terms, and hosted on [https://en.wikipedia.org/wiki/GitHub GitHub] <ref> [https://github.com/douglasbagnall/p4wn GitHub - douglasbagnall/p4wn: a smallish turn-of-the-century javascript chess engine]</ref>.
It runs in [https://en.wikipedia.org/wiki/Web_browser web browsers] and as standalone JavaScript engine (though less usefully there, without any [[User Interface|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|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.
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.
__FORCETOC__
=Forum Posts=
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=51763 JSUCI 1.0 - connect javascript chess engines to UCI] by [[Edmund Moshammer]], [[CCC]], March 28, 2014 » [[UCI]]
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=64969 ChessGUI (current version) and JavaScript engines part I] by [[Norbert Raimund Leisner]], [[CCC]], August 23, 2017 » [[ChessGUI]]
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=65667 Arena GUI and rules infraction by P4wn Chess - JSUCI] by [[Norbert Raimund Leisner]], [[CCC]], November 08, 2017 » [[Arena]]

=External Links=
* [http://p4wn.sourceforge.net/ p4wn]
* [https://github.com/douglasbagnall/p4wn GitHub - douglasbagnall/p4wn: a smallish turn-of-the-century javascript chess engine]

=References=
<references />
'''[[Engines|Up one Level]]'''
[[Category:Open Source]]
[[Category:JavaScript]]

Navigation menu