Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

railroad diagram: empty route and repeating routes are ambigious #238

Open
amryounis opened this issue Dec 5, 2023 · 3 comments
Open

railroad diagram: empty route and repeating routes are ambigious #238

amryounis opened this issue Dec 5, 2023 · 3 comments
Labels
feature request A request for a new feature

Comments

@amryounis
Copy link

it is not clear which is which:

image

@mike-lischke
Copy link
Owner

mike-lischke commented Dec 5, 2023

As the name implies, read it like a train would go. From start you can only drive to infoResponse or bestMoveResponse. From the both you can go back (a loop) or continue forward until your reach the branch going down right before EOF back to the beginning (another loop). There's no misinterpretation possible here. Additionally, you can drive around bestMoveResponse to skip it. From there you cannot go back (the track ends after the loop back).

So, what's not clear here?

@amryounis
Copy link
Author

first thank you for your reply. while the provided description provides clear interpretation, I still see it unclear from my side.

you might agree with me that following one provides easier visual interpretation of the roads:

image

@mike-lischke
Copy link
Owner

Yes, it's slightly better than the one above. Unfortunately, I have not much influence to the rendering, as that is done by a 3rd party lib.

Side note: this example seems a bit contrived, given that you can go from start to end and back in an endless loop without consuming anything.

@mike-lischke mike-lischke added feature request A request for a new feature and removed help wanted labels Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request A request for a new feature
Projects
None yet
Development

No branches or pull requests

2 participants