DEV Community

TACiT
TACiT

Posted on

Discussion: Algorithm Design and Map-based UX

The Hidden Complexity of Gamifying Real-World Logistics

When we talk about 'route optimization,' we usually think of delivery fleets or backend algorithms. But what happens when you put those constraints—budget, time, and distance—into the hands of a casual user?

I’ve been exploring how to translate the classic Traveling Salesman Problem into an engaging simulation for GeoQuest. The challenge isn't just the math; it's the UX of providing real-time feedback. How do you show a user that their dream route is mathematically impossible within their budget without ruining the 'fun'?

I’m curious: for those of you working with map-based APIs or simulation engines, do you prefer to hard-stop the user on invalid moves, or let them 'fail' the simulation to learn from their logistical errors? I'd love to hear your thoughts on balancing realism with player agency.

Top comments (0)