Skip to content

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages