Lab 06 Gaming and Beta - Aplha Prunning
Lab 06 Gaming and Beta - Aplha Prunning
BITI 1113
Artificial Intelligence
Laboratory 6:
Instruction: Answer all questions individually and submit a hardcopy at the end of the lab
session.
2. Assume the given node in Figure 1 as the root node at MAX node, draw the game tree until
the game ends. Show the evaluation function for each node. For each leaf node, identify the
utility function (+1 for Max’s win, -1, for Max’s lose and 0 for draw). The evaluation
function is f(n) = m(n) – o(n) where
1
Computer turn: Max
-1 0-1 = -1
0-0 =0 1-0 =0
1-1 =0 Computer turn:
Max
-1
0-0=0
1
0-0=0
1
2
3. Based on the game tree in Figure 2, find the best move for the MAX player using Alpha-beta
pruning. Show the value of α and β for each node MAX and MIN.
Min = β = -∞
α = +∞
3
4