I’m new to coding in Ruby, and wanted to try and implement a bot that needs some simple pathfinding. Many pathfinding algorithms use priority queues, and since Ruby’s standard libraries don’t have one, the only option seems to be writing one myself.
Is there a better way that I’m overlooking?