build/ludorum.js
/** The `transform` builds a new board mapping coordinates of this board with the given
	function.
	*/
The `transform` builds a new board mapping coordinates of this board with the given
function.
The ` transform ` builds a new board mapping coordinates of this board with the given function .
function transform(coordinateMapping) {
		var result = this.clone(),
			board = this;
		this.coordinates().forEach(function (position) {
			var newPosition = coordinateMapping.apply(board, [board, position].concat(position));
			result.__place__(newPosition, board.square(position));
		});
		return result;
	}
function transform ( coordinateMapping ) { var result = this . clone ( ) , board = this ; this . coordinates ( ) . forEach ( function ( position ) { var newPosition = coordinateMapping . apply ( board , [ board , position ] . concat ( position ) ) ; result . __place__ ( newPosition , board . square ( position ) ) ; } ) ; return result ; }
The `transform` builds a new board mapping coordinates of this board with the given
function.
The ` transform ` builds a new board mapping coordinates of this board with the given function .