资 源 简 介
A simple javascript-based chess client. It lets people play chess right in the browser. It currently has serious issues in Internet Explorer (it doesn"t actually work) but is fine in Chrome and Firefox. Right now it only supports two players on one computer, but support for one-player games (with an AI) and games between people at different computers is planned (tentatively).
The interesting file is chess.js--this is the actual JavaScript for the client. This needs board.css, which specifies the styling for the chessboard, without which it will not look like a board at all. The index.html page is very limited and is really nothing but an example--including this in a different page should not be difficult. All that the page really needs to do is make sure prototype and script.aculo.us are loaded, followed by chess.js as well as board.css.