Chess implemented in JavaScript.