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

About

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

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages