build/ludorum.js
/** The player can move the empty square up, down, left or right. A move is the coordinate where
	to move the empty square.
	*/
The player can move the empty square up, down, left or right. A move is the coordinate where
to move the empty square.
The player can move the empty square up down left or right . A move is the coordinate where to move the empty square .
function moves() {
		var pos = this.emptyCoord(),
			board = this.board;
		if (this.result()) {
			return null;
		} else {
			return { Player: iterable(Checkerboard.DIRECTIONS.ORTHOGONAL).mapApply(function (dr, dc) {
					return [pos[0] + dr, pos[1] + dc];			
				}, this.board.isValidCoord.bind(this.board)).toArray()
			};
		}
	}
function moves ( ) { var pos = this . emptyCoord ( ) , board = this . board ; if ( this . result ( ) ) { return null ; } else { return { Player : iterable ( Checkerboard . DIRECTIONS . ORTHOGONAL ) . mapApply ( function ( dr , dc ) { return [ pos [ 0 ] + dr , pos [ 1 ] + dc ] ; } , this . board . isValidCoord . bind ( this . board ) ) . toArray ( ) } ; } }
The player can move the empty square up, down, left or right.
The player can move the empty square up down left or right .