Skip to content

Latest commit

 

History

History
34 lines (18 loc) · 634 Bytes

README.md

File metadata and controls

34 lines (18 loc) · 634 Bytes

Project : http://ai.berkeley.edu/multiagent.html ###Provisional grades


Question q1: 4/4

Question q2: 5/5

Question q3: 5/5

Question q4: 5/5

Question q5: 6/6


Q1: Reflex Agent

I implemented a very basic function that just go for the closest food and avoids the ghost if very near.

Q2: Minimax / Q3: Alpha-Beta Pruning / Q4: Expectimax

These algorithms were implemented as cohesive as possible.

Q5: Evaluation Function

As Q1 but I added a few multipliers to a few variables for the final score accordingly to theirs significance.

Code is fully explained in comments.