tests/lib/ludorum.js
/**  User interfaces have to be configured to call `perform(action)` upon 
	each significant user action.players. It resolves the future returned by the
	`decision()` method.
	*/
User interfaces have to be configured to call `perform(action)` upon
each significant user action.players. It resolves the future returned by the
`decision()` method.
User interfaces have to be configured to call ` perform ( action ) ` upon each significant user action . players . It resolves the future returned by the ` decision () ` method .
function perform(action) {
		var future = this.__future__;
		if (future) {
			this.__future__ = null;
			future.resolve(action);
		}
		return !!future;
	}
function perform ( action ) { var future = this . __future__ ; if ( future ) { this . __future__ = null ; future . resolve ( action ) ; } return ! ! future ; }
User interfaces have to be configured to call `perform(action)` upon
each significant user action.players.
User interfaces have to be configured to call ` perform ( action ) ` upon each significant user action . players .