build/ludorum.js
/** The puzzle is finished when the pieces and the empty square are arranged in the `target`
	configuration.
	*/
The puzzle is finished when the pieces and the empty square are arranged in the `target`
configuration.
The puzzle is finished when the pieces and the empty square are arranged in the ` target ` configuration .
function differences(target) {
		target = target || this.target;
		var str = this.board.string;
		return iterable(str).zip(target).map(function (p) {
			return p[0] === p[1] ? 0 : 1;
		}).sum();
	}
function differences ( target ) { target = target || this . target ; var str = this . board . string ; return iterable ( str ) . zip ( target ) . map ( function ( p ) { return p [ 0 ] === p [ 1 ] ? 0 : 1 ; } ) . sum ( ) ; }
The puzzle is finished when the pieces and the empty square are arranged in the `target`
configuration.
The puzzle is finished when the pieces and the empty square are arranged in the ` target ` configuration .