emiflake / PureAdventure

An attempt at PureScript adventure.land bindings
2 stars 1 forks source link

Implement graph system for pathfinding #2

Open todo[bot] opened 4 years ago

todo[bot] commented 4 years ago

https://github.com/emiflake/PureAdventure/blob/494713c0b9666a8db6d532c14f811204887c798c/src/Bot/Pathfinding/Graph.purs#L20-L25


This issue was generated by todo based on a TODO comment in 494713c0b9666a8db6d532c14f811204887c798c. It's been assigned to @emiflake because they committed the code.
issue-label-bot[bot] commented 4 years ago

Issue-Label Bot is automatically applying the label feature_request to this issue, with a confidence of 0.96. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

emiflake commented 4 years ago

Maybe it's a good idea to use a library?

bbarker commented 4 years ago

Might be worth looking at https://pursuit.purescript.org/packages/purescript-graphs, though I haven't used it so far.

bbarker commented 4 years ago

I have used many of garyb's other packages though

emiflake commented 4 years ago

Seems good! We'll still have to implement BFS/DFS ourselves, but it's not a bad place to start.