Games and Search Flashcards
What is a deterministic game?
A game with a finite amount of states and possible moves
What are zero-sum games?
Agents have opposite utilities (values on outcomes). One player tries to maximise the other tries to minimise (adversial).
What are general games?
Agents have independent utilities. Cooperation, indifference, competition and more possible.
What is a game tree (2-player)?
For 2-player deterministic turns, value of a state is the best achievable outcome from that state. Terminal nodes/utility values, determine who has won.
What are some examples of terminal nodes/utility values for game trees?
Opponent win = -1
Draw = 0
Player win = 1
What is minimax?
Choose move to position with highest minimax value.
Is minimax complete?
Yes, if tree is finite
Is minimax optimal?
Against an optimal opponent yes.
What is the time complexity of minimax?
O(b^m)
What is the space complexity of minimax
O(b^m)
What is alpha-beta pruning?
Similar to minmax, but avoids branches that will not yield a better result.
How does alpha-beta pruning affect the time complexity?
Halves the time complexity (m/2) and doubles to solvable depth.