public void StartGame(boolean isGameHost, int slots,
			HostGameTask hgt) throws InvalidKeyException, BadPaddingException,
			IllegalBlockSizeException, InvalidSubscriptionException,
			InterruptedException, IOException, InvalidKeySpecException,
			NoSuchAlgorithmException, NoSuchPaddingException,
			NoSuchProviderException {

		ArrayList<User> gameUsers = null;
		if (isGameHost) {
			gameUsers = comServ.startNewGame(slots, hgt);
		}

		if (gameUsers == null) {
			comServ.shutdown();
			System.exit(1);
			return;
		}

		System.out.println("\nGame Players:");
		for (int i = 0; i < gameUsers.size(); i++) {
			System.out.println(gameUsers.get(i).getUsername() + " "
					+ gameUsers.get(i).getID());
		}
		System.out.println("");

		if (isGameHost) {
			playGameAsHost(gameUsers, hgt);
		}

		return;
	}