See turn, undo 187. Seed 550943578. in attached file.
Received a superintendent query as to whether to allow or hold train three. The display graphically showed train 17 further west than train 5. And the query was Superintendent — may Train 3 follow Train 5 onto the same Mainline card? I allowed train 3 and it collided w/train 17, not train 5 as expected.
Further investigation revealed that the tooltip showed TX17 in region 1 of 2, 2 stages to cross AND T5 in region 2 of 2, 1 stages to cross.
See turn, undo 187. Seed 550943578. in attached file.
Received a superintendent query as to whether to allow or hold train three. The display graphically showed train 17 further west than train 5. And the query was Superintendent — may Train 3 follow Train 5 onto the same Mainline card? I allowed train 3 and it collided w/train 17, not train 5 as expected.
Further investigation revealed that the tooltip showed TX17 in region 1 of 2, 2 stages to cross AND T5 in region 2 of 2, 1 stages to cross.
Ruling: your reading of the board was correct and the game's picture was wrong. The collision was right; the map was mirrored.
Two separate things share one number here, and that is the bug.
regionOfTransit answers how far along its crossing a train is, counted from the end it entered — a train with everything still to run is in region 0. That is the question the collision rules ask, and it was correct throughout.
The Division map was asking a different question with the same number: which printed box, left to right. East is right on this map, so for an eastbound train the two answers coincide by luck — it enters at the west end, so "just entered" and "leftmost box" are the same box. A westbound train enters at the east end, so its region 0 is the card's right-hand box — and drawing it at the left mirrored the entire card.
Replaying your save to the position the ruling was made in (intent 186):
T5 — 1 Stage left, nearly across, travel index 1
TX17 — 2 Stages left, just entered, travel index 0
Both westbound, so TX17 was physically east of T5 — behind it, in the direction they had both come from. The map drew TX17 at the left, which reads as further west, which reads as further ahead. So when you were asked whether Train 3 could follow Train 5 onto the card, the board you were reading showed the two trains in the wrong order. Train 3 entered behind and ran into TX17, exactly where the rules had always had it.
The tooltip you quoted was reporting the same number, which is why it agreed with the picture rather than correcting it. It now says which way it is counted — region 2 of 2, counted west to east — because beside "2 Stages still to run" a bare number reads as a contradiction.
Fixed in v0.7.9.1 (7ade60e): one mirror where the map is drawn. The collision rules are untouched, since they were never wrong.
Worth recording: every existing test for this ran a train eastbound, where the mirror is the identity — which is why 884 passing tests never caught it.
**Ruling: your reading of the board was correct and the game's picture was wrong. The collision was right; the map was mirrored.**
Two separate things share one number here, and that is the bug.
`regionOfTransit` answers **how far along its crossing a train is, counted from the end it entered** — a train with everything still to run is in region 0. That is the question the collision rules ask, and it was correct throughout.
The Division map was asking a different question with the same number: **which printed box, left to right.** East is right on this map, so for an *eastbound* train the two answers coincide by luck — it enters at the west end, so "just entered" and "leftmost box" are the same box. A **westbound** train enters at the *east* end, so its region 0 is the card's right-hand box — and drawing it at the left mirrored the entire card.
Replaying your save to the position the ruling was made in (intent 186):
- **T5** — 1 Stage left, nearly across, travel index 1
- **TX17** — 2 Stages left, just entered, travel index 0
Both westbound, so TX17 was physically **east** of T5 — behind it, in the direction they had both come from. The map drew TX17 at the left, which reads as further west, which reads as further ahead. So when you were asked whether Train 3 could follow Train 5 onto the card, the board you were reading showed the two trains in the wrong order. Train 3 entered behind and ran into TX17, exactly where the rules had always had it.
**The tooltip you quoted was reporting the same number, which is why it agreed with the picture rather than correcting it.** It now says which way it is counted — `region 2 of 2, counted west to east` — because beside "2 Stages still to run" a bare number reads as a contradiction.
Fixed in **v0.7.9.1** (`7ade60e`): one mirror where the map is drawn. The collision rules are untouched, since they were never wrong.
Worth recording: every existing test for this ran a train **eastbound**, where the mirror is the identity — which is why 884 passing tests never caught it.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
See turn, undo 187. Seed 550943578. in attached file.
Received a superintendent query as to whether to allow or hold train three. The display graphically showed train 17 further west than train 5. And the query was Superintendent — may Train 3 follow Train 5 onto the same Mainline card? I allowed train 3 and it collided w/train 17, not train 5 as expected.
Further investigation revealed that the tooltip showed TX17 in region 1 of 2, 2 stages to cross AND T5 in region 2 of 2, 1 stages to cross.
Ruling: your reading of the board was correct and the game's picture was wrong. The collision was right; the map was mirrored.
Two separate things share one number here, and that is the bug.
regionOfTransitanswers how far along its crossing a train is, counted from the end it entered — a train with everything still to run is in region 0. That is the question the collision rules ask, and it was correct throughout.The Division map was asking a different question with the same number: which printed box, left to right. East is right on this map, so for an eastbound train the two answers coincide by luck — it enters at the west end, so "just entered" and "leftmost box" are the same box. A westbound train enters at the east end, so its region 0 is the card's right-hand box — and drawing it at the left mirrored the entire card.
Replaying your save to the position the ruling was made in (intent 186):
Both westbound, so TX17 was physically east of T5 — behind it, in the direction they had both come from. The map drew TX17 at the left, which reads as further west, which reads as further ahead. So when you were asked whether Train 3 could follow Train 5 onto the card, the board you were reading showed the two trains in the wrong order. Train 3 entered behind and ran into TX17, exactly where the rules had always had it.
The tooltip you quoted was reporting the same number, which is why it agreed with the picture rather than correcting it. It now says which way it is counted —
region 2 of 2, counted west to east— because beside "2 Stages still to run" a bare number reads as a contradiction.Fixed in v0.7.9.1 (
7ade60e): one mirror where the map is drawn. The collision rules are untouched, since they were never wrong.Worth recording: every existing test for this ran a train eastbound, where the mirror is the identity — which is why 884 passing tests never caught it.