Skip to content

cwru-courses/csds600-f23-9

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

        **shouldReplanPath**  
  1. we are finding footman X and Y positions
  2. Also we are finding enemyfootman X and Y locations
  3. And in if checks enemy is closing to footman or not. here we used Euclidean distance to find the distance between two.
  4. if current path itself is null or empty we are returning false

** AstarSearch**

-> This method will be used to find the optimal path from start to goal position. -> Will be using A* Algorithm to implement the method. -> Implemented the method AstartSearch as of now the code is able to return the statck of MapLocations with ignoring tree resources. ->Will return a stack of locations which will be used to find the path. ->

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages