Implement Enhancements, Mainline modifiers and Maneuvers; fix unplayable track

This commit is contained in:
Jesse
2026-07-31 11:02:54 -04:00
parent 401b879140
commit b085d5a0bb
20 changed files with 1853 additions and 50 deletions
+2 -1
View File
@@ -79,8 +79,9 @@ type PortPair = readonly [Port, Port];
*/
function connectionsFor(card: TrackCard): readonly PortPair[] {
switch (card.geometry.kind) {
// A Modifier is not track: nothing connects to it and no train may enter (§9).
// Neither a Modifier nor a Space-use card is track: nothing connects, no train may enter.
case 'modifier':
case 'spaceUse':
return [];
case 'limits':
return [['e', 'w']];