- Homework Statement:
- minimax algorithm artificial intelligence
- Relevant Equations:
- algorithm given below
I found pseudocode for this problem below-:
How do I learn to do it? I have no idea. Learning these stuffs would be immensely useful. I have ok programming experience. Learnt about dsa and stuffs but I don't have any notes from that time and don't remember much stuffs. Know basic python. Know oop but like dsa forgot and don't have the notes...What to do?
def minimax(current node): if is_leaf(current_node): return static_evaluation(current_node) if is_min_node(current_node): return min(minimax(children_of(current_node))) if is_max_node(current_node): return max(minimax(children_of(current_node)))