PathFinding.js icon indicating copy to clipboard operation
PathFinding.js copied to clipboard

add extra cost for turns in A* to avoid staircase

Open reimai opened this issue 11 years ago • 3 comments

reimai avatar May 25 '13 21:05 reimai

Can't comment on the pull request itself, but you are using tabs when the project is using spaces for indentation. You should always follow the project's indentation style.

guilhermesimoes avatar May 26 '13 13:05 guilhermesimoes

Hi @reimai, thanks for your pull request. A minor issue with your patch is that you should modify the source file located in the src directory instead of the compiled file. Then use the make command to rebuild the browser version.(You may need to install nodejs and some dependent libraries).

qiao avatar May 26 '13 17:05 qiao

Integrated this into src at #150 as well as adding some configuration for the turn penalty number.

ivanmayes avatar Jul 25 '17 18:07 ivanmayes