freystef / Rails

18xx games moderator
GNU General Public License v2.0
9 stars 9 forks source link

Strange Pathfinding #2

Open madoar opened 8 years ago

madoar commented 8 years ago

Hi, circa one week ago I, together with a few friends, played a game of 1835. In this game we saw that rails found a train path which shouldn't be possible. auswahl_045 If you take a look at the pink route on field F20, I believe that this train route shouldn't be possible.

Greetings Marc

neutronc commented 8 years ago

You are correct F20 should not be a valid hex to travel in the route. The Route should use E19 and E21. More importantly the revenue calculated is correct though.

But currently the code doesnt recognise traveling backwards on a track. So this is something more complex to tackle. Maybe defining internal edges might help but thats something that needs to be worked on still.

madoar commented 7 years ago

Today we got another strange pathfinding result (see field F18): wrong-route