Wrote move function(almost completely) just wanted  to show what I have so far. What is left:

I have the loop for 100 trials, and every trial I do a random shuffling of the candidate_cards_for_trials array, but I think I need to implement min and max, and minimax in order to successfully finish move.

move uses move perfect knowledge.

Here are some things that I do not understand.

The trials cycle over potential cards for player, it says that the trials must be consistent with partial_state, what does CONSISTENT mean? Consistent with Face up card, if so, with suit or denomination?
What about num_of played cards? should we keep it at zero for all tuples in candidate_cards_for_trials?