Question 1️⃣ (Reflex Agent)
python pacman.py -p ReflexAgent -l testClassic
python pacman.py --frameTime 0 -p ReflexAgent -k 1
python pacman.py --frameTime 0 -p ReflexAgent -k 2
Question 2️⃣ (Minimax)
python autograder.py -q q2
python autograder.py -q q2 --no-graphics
Question 3️⃣ (Alpha-Beta Pruning)
python pacman.py -p AlphaBetaAgent -a depth=3 -l smallClassic
python autograder.py -q q3
python autograder.py -q q3 --no-graphics
Question 4️⃣ (Expectimax)
python pacman.py -p ExpectimaxAgent -l minimaxClassic -a depth=3
python pacman.py -p AlphaBetaAgent -l trappedClassic -a depth=3 -q -n 10
python pacman.py -p ExpectimaxAgent -l trappedClassic -a depth=3 -q -n 10
Question 5️⃣ (Evaluation Function)
python autograder.py -q q5