src/games/Puzzle15.js
/** The puzzle usually starts with a `randomBoard`.
	*/
The puzzle usually starts with a `randomBoard`.
The puzzle usually starts with a ` randomBoard ` .
function randomBoard(width, height, rng, symbols) {
		width = (width |0) || this.width;
		height = (height |0) || this.height;
		rng = rng || Randomness.DEFAULT;
		symbols = symbols || Iterable.range(width * height - 1).map(function (n) {
			return n.toString(36);
		}).join('').toUpperCase();
		return new CheckerboardFromString(width, height, 
			rng.shuffle(' '+ symbols.substr(0, width * height - 1)).join(''), ' ');
	}
function randomBoard ( width , height , rng , symbols ) { width = ( width | 0 ) || this . width ; height = ( height | 0 ) || this . height ; rng = rng || Randomness . DEFAULT ; symbols = symbols || Iterable . range ( width * height - 1 ) . map ( function ( n ) { return n . toString ( 36 ) ; } ) . join ( '' ) . toUpperCase ( ) ; return new CheckerboardFromString ( width , height , rng . shuffle ( ' ' + symbols . substr ( 0 , width * height - 1 ) ) . join ( '' ) , ' ' ) ; }
The puzzle usually starts with a `randomBoard`.
The puzzle usually starts with a ` randomBoard ` .