Roads need to be connected when placed so that we can verifiably count the length of a given road on the game board (and all of its branches).
An alternative would be to query for all the road states and do manual checks to determine the length of the longest continuous road state.
// States
RoadStates have a connect function - which links them end to end. This must be expanded to reflect there being two possible connections by two possible roads (if and only if another road has not previously been built there).
Roads need to be connected when placed so that we can verifiably count the length of a given road on the game board (and all of its branches).
An alternative would be to query for all the road states and do manual checks to determine the length of the longest continuous road state.
// States
// Contracts