Issue #113 - Add A* to rush Dungeon#116
Conversation
We don't take chests or fight for nothing. The general gain is better on the hardest dungeons (more time to kill enemies needed than first dungeon where the player can OS all enemies)
|
Please, test it before merging. |
|
This needs to be implemented better since I don't know how exactly to do it well but you don't even need pathfinding with: |
|
Hello @EugeneFabre, I don't want to implement your code. This code verifies that you are in the correct tile before launching the fight. When your use your code, the first line said your find the Boss and the 2nd line start the fight. As said before, I don't want/like to use this method and I will not implement them. |
|
I think this PR can be closed as #352 covered this |
|
That PR uses a different method, but I do feel this should be closed as the algorithm relies on information the player doesn't have. |
We don't take chests or fight for nothing.
The general gain is better on the hardest dungeons (more time to kill enemies needed than dungeons where the player can OS all enemies).
I use the A* from here: http://github.com/bgrins/javascript-astar
And minified it.