Browse Source

Capitalize Script in JavaScript

master
Kaj Björklund 11 years ago
parent
commit
ff3cc0f65f
  1. 4
      README.md
  2. 2
      src/bitboard.js

4
README.md

@ -1,6 +1,6 @@
# Javascript Chess
# JavaScript Chess
This program is a Javascript implementation of the board game [Chess](http://en.wikipedia.org/wiki/Chess), with a computer player opponent. All move types are supported, including en passant, castling and promotion.
This program is a JavaScript implementation of the board game [Chess](http://en.wikipedia.org/wiki/Chess), with a computer player opponent. All move types are supported, including en passant, castling and promotion.
Try it out [here](http://www.iki.fi/kbjorklu/chess/). Usage is shown below the chessboard. At least Internet Explorer (8 or later), Chrome and Firefox should work.

2
src/bitboard.js

@ -25,7 +25,7 @@ Chess.Bitboard = function(low, high) {
/**
* @see http://goo.gl/pyzBq (Bit Twiddling Hacks)
* @see http://goo.gl/dnqDn (Bit-peeking bits of Javascript)
* @see http://goo.gl/dnqDn (Bit-peeking bits of JavaScript)
* @param {number} v 32 bit integer
* @return {number} 0-32 number of bits set in v
*/

Loading…
Cancel
Save