tests/lib/ludorum.js
/** Since square contents in `CheckerboardFromString` are just characters,
	lines can be thought as strings. The method `asString(line)` takes an
	iterable of coordinates and returns a string of the characters found at each
	point in the sequence.
	*/
Since square contents in `CheckerboardFromString` are just characters,
lines can be thought as strings. The method `asString(line)` takes an
iterable of coordinates and returns a string of the characters found at each
point in the sequence.
Since square contents in ` CheckerboardFromString ` are just characters lines can be thought as strings . The method ` asString ( line ) ` takes an iterable of coordinates and returns a string of the characters found at each point in the sequence .
function asString(line) {
		var board = this;
		return line.map(function (coord) {
			return board.square(coord);
		}).join('');
	}
function asString ( line ) { var board = this ; return line . map ( function ( coord ) { return board . square ( coord ) ; } ) . join ( '' ) ; }
Since square contents in `CheckerboardFromString` are just characters,
lines can be thought as strings.
Since square contents in ` CheckerboardFromString ` are just characters lines can be thought as strings .