@Override
	public int calculator(Model model) {
		
		System.out.println("Minimax calculator started.");
		int depth = 7;
		
		Map<String, Integer> result ;// = new HashMap<>();
		result = alphabeta(model, depth, Integer.MIN_VALUE, Integer.MAX_VALUE, user);

		
		Integer hint = (Integer) result.get("Direction");	
		System.out.println("get from minimax hint = " + hint);
		System.out.println("**FINISHED CALCULATOR.**");
		return hint;
		
	}