Search for question
Question

QUESTION 2(a):

There are now multiple dots in the maze and between 1-2 ghosts. The ghosts are controlled

by the game environment. There is a 30 second timeout per game.

E

9

To tackle this problem you will implement the function stub in the class Q2A_Agent:

• getAction, which returns the move action for Pac-Man in the next game iteration./nQUESTION 2(b):

In this setup we will play a game of Classic Pac-Man which features four ghosts. As before,

ghosts are controlled by the game environment. There is a 30 second timeout per game.

12

St

To tackle this problem you need to implement the getAction function stub in the class

Q2B_Agent. A variety of test problems are available in the directory layouts/q2b_*.

Fig: 1

Fig: 2