build/ludorum.js
/** The active player can either hold and pass the turn, or roll.
	*/
The active player can either hold and pass the turn, or roll.
The active player can either hold and pass the turn or roll .
function moves() {
		if (!this.result()) {
			var activePlayer = this.activePlayer(),
				currentScore = this.__scores__[activePlayer] + iterable(this.__rolls__).sum();
			return obj(activePlayer, this.__rolls__.length < 1 ? ['roll'] :
				currentScore >= this.goal ? ['hold'] : ['roll', 'hold']);
		}
	}
function moves ( ) { if ( ! this . result ( ) ) { var activePlayer = this . activePlayer ( ) , currentScore = this . __scores__ [ activePlayer ] + iterable ( this . __rolls__ ) . sum ( ) ; return obj ( activePlayer , this . __rolls__ . length < 1 ? [ 'roll' ] : currentScore >= this . goal ? [ 'hold' ] : [ 'roll' , 'hold' ] ) ; } }
The active player can either hold and pass the turn, or roll.
The active player can either hold and pass the turn or roll .