build/ludorum.js
/** The `moves()` of a serialized game returns the moves of the player deemed as the
			active player, if there are any moves.
			*/
The `moves()` of a serialized game returns the moves of the player deemed as the
active player, if there are any moves.
The ` moves () ` of a serialized game returns the moves of the player deemed as the active player if there are any moves .
function moves() {
				var fixedMoves = this.__fixedMoves__ || (this.__fixedMoves__ = {}),
					allMoves = super_moves.call(this),
					activePlayer;
				for (var i = 0; i < this.activePlayers.length; i++) {
					if (fixedMoves.hasOwnProperty(this.activePlayers[i])) {
						activePlayer = this.activePlayers[i];
						break;
					}
				}
				return activePlayer && allMoves ? obj(activePlayer, allMoves[activePlayer]) : null;
			}
function moves ( ) { var fixedMoves = this . __fixedMoves__ || ( this . __fixedMoves__ = { } ) , allMoves = super_moves . call ( this ) , activePlayer ; for ( var i = 0 ; i < this . activePlayers . length ; i ++ ) { if ( fixedMoves . hasOwnProperty ( this . activePlayers [ i ] ) ) { activePlayer = this . activePlayers [ i ] ; break ; } } return activePlayer && allMoves ? obj ( activePlayer , allMoves [ activePlayer ] ) : null ; }
The `moves()` of a serialized game returns the moves of the player deemed as the
active player, if there are any moves.
The ` moves () ` of a serialized game returns the moves of the player deemed as the active player if there are any moves .