tests/specs/players.test.js
//// games.Predefined can be played by autonomousPlayers.
games.Predefined can be played by autonomousPlayers.
games . Predefined can be played by autonomousPlayers .
function zeroSumCheck(done) {
		return function (match) {
			var result = match.result(),
				game = match.history[0].state;
			expect(result).toBeTruthy();
			expect(result[game.players[0]] + result[game.players[1]]).toBe(0);
			done();
		};
	}
function zeroSumCheck ( done ) { return function ( match ) { var result = match . result ( ) , game = match . history [ 0 ] . state ; expect ( result ) . toBeTruthy ( ) ; expect ( result [ game . players [ 0 ] ] + result [ game . players [ 1 ] ] ) . toBe ( 0 ) ; done ( ) ; } ; }
games.Predefined can be played by autonomousPlayers.
games . Predefined can be played by autonomousPlayers .