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 1. 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. __FORCETOC__
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
