new iPlayers = 11 new iExtraPlayers = iPlayers % 2 if(iExtraPlayers) { // players can't be equally divided } else { // players can be divided }