alex-rantos / Project-2-Multi-Agent-Pacman

Decision making & Game theory in python.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Decision making & Game theory in python.


Languages

Language:Python 100.0%