private boolean winCheck() {
		String winner = Resolution.resolutionWinCheck();
		if(winner.equals("X")){
			JOptionPane.showMessageDialog(null, "X wins the game!", "Winner", 0);
			return true;
		}
		else if(winner.equals("O")){
			JOptionPane.showMessageDialog(null, "O wins the game!", "Winner", 0);
			return true;
		}
		else{
			for(int i = 0; i < playedNodes.length; i++){
				if(playedNodes[i] == null){
					return false;
				}
			}	
			
			JOptionPane.showMessageDialog(null, "It's a cat game!", "Tie", 0);
		}
		return true;
	}