src/games/Predefined.js
/** `Predefined` is a pseudogame used for testing purposes. It will give `width` amount of 
	moves for each player until `height` moves pass. Then the match is finished with the given 
	`results`, or a tie as default.
	*/
`Predefined` is a pseudogame used for testing purposes. It will give `width` amount of
moves for each player until `height` moves pass. Then the match is finished with the given
`results`, or a tie as default.
` Predefined ` is a pseudogame used for testing purposes . It will give ` width ` amount of moves for each player until ` height ` moves pass . Then the match is finished with the given ` results ` or a tie as default .
function Predefined(activePlayer, results, height, width) {
		if (results) {
			this.__results__ = results;
			this.players = Object.keys(results);
		}
		Game.call(this, activePlayer);
		if (!isNaN(height)) {
			this.height = +height;
		}
		if (!isNaN(width)) {
			this.width = +width;
		}
	}
function Predefined ( activePlayer , results , height , width ) { if ( results ) { this . __results__ = results ; this . players = Object . keys ( results ) ; } Game . call ( this , activePlayer ) ; if ( ! isNaN ( height ) ) { this . height = + height ; } if ( ! isNaN ( width ) ) { this . width = + width ; } }
`Predefined` is a pseudogame used for testing purposes.
` Predefined ` is a pseudogame used for testing purposes .