src/players/EnsemblePlayer.js
/** A `randomDecision` delegates the decision to one of the available `players` chosen at
	random.
	*/
A `randomDecision` delegates the decision to one of the available `players` chosen at
random.
A ` randomDecision ` delegates the decision to one of the available ` players ` chosen at random .
function randomDecision(game, role, players) {
		players = players || this.playerSelection(game, role);
		raiseIf(players.length < 1, "No player was selected!");
		return (players.length == 1 ? players[0] : this.random.choice(players))
			.decision(game, role);
	}
function randomDecision ( game , role , players ) { players = players || this . playerSelection ( game , role ) ; raiseIf ( players . length < 1 , "No player was selected!" ) ; return ( players . length == 1 ? players [ 0 ] : this . random . choice ( players ) ) . decision ( game , role ) ; }
A `randomDecision` delegates the decision to one of the available `players` chosen at
random.
A ` randomDecision ` delegates the decision to one of the available ` players ` chosen at random .