build/ludorum.js
/** All players in a game are assumed to be opponents. The method `opponents(players=activePlayers)`
	returns an array with the opponent roles of the given players, or of the active players by
	default. If not all players are opponents this method can be overriden.
	*/
All players in a game are assumed to be opponents. The method `opponents(players=activePlayers)`
returns an array with the opponent roles of the given players, or of the active players by
default. If not all players are opponents this method can be overriden.
All players in a game are assumed to be opponents . The method ` opponents ( players = activePlayers ) ` returns an array with the opponent roles of the given players or of the active players by default . If not all players are opponents this method can be overriden .
function opponents(players) {
		players = players || this.activePlayers;
		return this.players.filter(function (p) {
			return players.indexOf(p) < 0;
		});
	}
function opponents ( players ) { players = players || this . activePlayers ; return this . players . filter ( function ( p ) { return players . indexOf ( p ) < 0 ; } ) ; }
All players in a game are assumed to be opponents.
All players in a game are assumed to be opponents .