Play the game with the keyboard by executing
./pacman <level>
Where level is from 0 to 9
Execute pacman with AI by executing
./pacman <level> <ai/ai pause> <max/avg> <budget>
Where ai pause calls your algorithm and pauses the game to allow playing one step at a time. <max/avg> is either max or avg, to select the 2 options for propagating scores, and is an integer number indicating the budget of your search.
Output file (output.txt) will record the max depth, Number of generated nodes, Number of expanded nodes, Number of expanded nodes per second, Total Search Time(in seconds), Maximum value in the board and Score.