public void isKingInCheckNotifier()
	{
		String currentTurnColor = whitePlayerTurn() ? white : black;
		Position whiteKingPosition = team.getKingFromWhiteTeam();
		Position blackKingPosition = team.getKingFromBlackTeam();
		
		// detects if and when check and/or check mate happens
		if(whitePlayerTurn())
		{
			if(isKingInCheck(whiteKingPosition))
			{		
				System.out.println();
				System.out.println("\n\nPlayer " + currentTurnColor + "'s King is in Check!");
				
				if(isKingInCheckMate(whiteKingPosition))
				{
					String winner = whitePlayerTurn() ? black : white;
					
					System.out.println("\nTeam " + currentTurnColor + " has been Checkmated!"
							+ "\nThe Winner is " + winner + " team!!"
							+ " CONGRATULATIONS!");
					checkMate = true;
					System.exit(0);
				}
			}
		}
		else
		{
			if(isKingInCheck(blackKingPosition))
			{
				System.out.println("\n\nPlayer " + currentTurnColor + "'s King is in Check!");
				
				if(isKingInCheckMate(blackKingPosition))
				{
					String winner = whitePlayerTurn() ? black : white;
					
					System.out.println("\nTeam " + currentTurnColor + " has been Checkmated!"
							+ "\nThe Winner is " + winner + " team!!"
							+ " CONGRATULATIONS!");
					checkMate = true;
					System.exit(0);
				}
			}
		}
	}