Skip to content
This repository was archived by the owner on Mar 9, 2020. It is now read-only.
/ py_cman Public archive

Uni practice of writing DFS and BFS algorithms for Pacman to find his coin in labyrinth.

Notifications You must be signed in to change notification settings

devkosh/py_cman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

py_cman

Uni practice of writing DFS and BFS algorithms for Pacman to find his coin in labyrinth.

I was using UC Berkeley CS188 Intro to AI course and I have downloaded this amazing zip archive.

To try out my algorithms you need:

1.Download this project --> here;

2.Unarchive project;

3.Change your directory to the dir of the master-py_cman though your console or IDE;

Console

$ cd .../master-py_cman

4.To try DFS type in console:

For big maze

$ python pacman.py -l bigMaze -p SearchAgent -a fn=dfs -z .5

For open maze

$ python pacman.py -l openMaze -p SearchAgent -a fn=dfs -z .5

5.To try BFS type in console:

For big maze

$ python pacman.py -l bigMaze -p SearchAgent -a fn=bfs -z .5

For open maze

$ python pacman.py -l openMaze -p SearchAgent -a fn=bfs -z .5

Thank you for your attention!

About

Uni practice of writing DFS and BFS algorithms for Pacman to find his coin in labyrinth.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages