build/ludorum.js
/** Expands one of the given `nodes` at random. If `nodes` are not given, this node's pending
	children are used instead.
	*/
Expands one of the given `nodes` at random. If `nodes` are not given, this node's pending
children are used instead.
Expands one of the given ` nodes ` at random . If ` nodes ` are not given this node ' s pending children are used instead .
function expandRandom(random, nodes) {
		random = random || Randomness.DEFAULT;
		nodes = nodes || this.pending();
		return nodes.length < 1 ? null :
			(nodes.length === 1 ? nodes[0] : random.choice(nodes)).expand();
	}
function expandRandom ( random , nodes ) { random = random || Randomness . DEFAULT ; nodes = nodes || this . pending ( ) ; return nodes . length < 1 ? null : ( nodes . length === 1 ? nodes [ 0 ] : random . choice ( nodes ) ) . expand ( ) ; }
Expands one of the given `nodes` at random.
Expands one of the given ` nodes ` at random .