question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hi there,

I’ve been using the next version of this library, and have finally wrapped my head around representing my cells with it correctly. The context I am using this in is for, loosely, a text based adventure game. No rendering is needed.

I have extended Hex to create my own, which includes properties to be used to calculate a cost to move through that tile.

The library seems to be missing (and mentioned as not yet completed or spoken as ‘coming soon’) the ability to find a path from one cell to another (and include the ability for cells to have different costs/weights).

I notice it has been some time since these comments were made or the library has been updated.

Is there any update on when or if this functionality might be coming? If not, can anyone recommend any alternatives or similar solutions they have found?

Thanks!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
flauwekeulcommented, Jul 23, 2022

I started working on the project again and implementing the A* algorithm might be a good way to dogfood the new API. I’ll let you know how it goes.

1reaction
flauwekeulcommented, Dec 5, 2021

First of all: I’m sorry for replying this late. For some reason I didn’t get an email someone opened an issue. I’ll investigate what happened there.

It seems the A* algorithm is what you need. I’ve gotten less interested in continuing developing Honeycomb, but I can still try to help you. With the next version you should be able to achieve what you want. Can you share some code so I can do some suggestions?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Pathfinding - Wikipedia
Pathfinding or pathing is the plotting, by a computer application, of the shortest route between two points. It is a more practical variant...
Read more >
PathFinding.js
Created with Raphaël 2.1.0.
Read more >
Introduction to A* - Stanford CS Theory
The pathfinding algorithms from computer science textbooks work on graphs in the mathematical sense—a set of vertices with edges connecting ...
Read more >
definition of pathfinding by The Free Dictionary
pathfinder · 1. a person who makes or finds a way, esp through unexplored areas or fields of knowledge · 2. (Navigation) an...
Read more >
Pathfinding algorithms : the four Pillars. | by Hybesis - H.urna
Pathfinding algorithms address the problem of finding a path from a source to a destination avoiding obstacles and minimizing the costs ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found