Skip to content

Jpsloureiro2002/DFS-BFS-PathFinding-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BFS and DFS searching algorithoms

It's a personal challenge, just for practice. The code contains a visual part in App.java just for visual results, but the agent algorithm is in Agent.java. The file Map.java contains the map information; you can change it and add as many rows and columns as you want.

Some map information

  • 1 -> Wall

  • 0 -> Walkable path

  • 9 -> Spawn or Start Position

  • 5 -> Goal

  • 6 -> Cell Visited by the Agent

  • 7 -> Cell Opened

  • 3 -> Agent Path to the Goal

Also you can change the collors if you want.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages