Added setNumPlayers