|
8067 | 8067 | ], |
8068 | 8068 | "out": {} |
8069 | 8069 | } |
| 8070 | + }, |
| 8071 | + { |
| 8072 | + "name": "layout-map-read-as-before", |
| 8073 | + "claim": "rule 11: the map-space reading answers a layout map as any Map (rule 8's x_layout and x_hand are not read here): its frame, its Zone's outline from the Markers on it and its Pin, beside the ground's, every key as for a plain Map", |
| 8074 | + "elements": [ |
| 8075 | + { |
| 8076 | + "type": "map", |
| 8077 | + "id": "019a9000-0000-7000-8000-00000000aa01", |
| 8078 | + "name": "board", |
| 8079 | + "width": 200, |
| 8080 | + "height": 100, |
| 8081 | + "x_layout": { |
| 8082 | + "method": "hand" |
| 8083 | + } |
| 8084 | + }, |
| 8085 | + { |
| 8086 | + "type": "map", |
| 8087 | + "id": "019a9000-0000-7000-8000-00000000aa02", |
| 8088 | + "name": "ground", |
| 8089 | + "width": 400, |
| 8090 | + "height": 300 |
| 8091 | + }, |
| 8092 | + { |
| 8093 | + "type": "character", |
| 8094 | + "id": "019a9000-0000-7000-8000-0000000e0001", |
| 8095 | + "name": "captain" |
| 8096 | + }, |
| 8097 | + { |
| 8098 | + "type": "location", |
| 8099 | + "id": "019a9000-0000-7000-8000-0000000e0002", |
| 8100 | + "name": "harbour" |
| 8101 | + }, |
| 8102 | + { |
| 8103 | + "type": "zone", |
| 8104 | + "id": "019a9000-0000-7000-8000-0000000b0001", |
| 8105 | + "name": "frame" |
| 8106 | + }, |
| 8107 | + { |
| 8108 | + "type": "marker", |
| 8109 | + "id": "019a9000-0000-7000-8000-0000000c0001", |
| 8110 | + "name": "frame: corner 1", |
| 8111 | + "map": "019a9000-0000-7000-8000-00000000aa01", |
| 8112 | + "zone": "019a9000-0000-7000-8000-0000000b0001", |
| 8113 | + "x": 10, |
| 8114 | + "y": 90, |
| 8115 | + "order": 0 |
| 8116 | + }, |
| 8117 | + { |
| 8118 | + "type": "marker", |
| 8119 | + "id": "019a9000-0000-7000-8000-0000000c0002", |
| 8120 | + "name": "frame: corner 2", |
| 8121 | + "map": "019a9000-0000-7000-8000-00000000aa01", |
| 8122 | + "zone": "019a9000-0000-7000-8000-0000000b0001", |
| 8123 | + "x": 60, |
| 8124 | + "y": 90, |
| 8125 | + "order": 1 |
| 8126 | + }, |
| 8127 | + { |
| 8128 | + "type": "marker", |
| 8129 | + "id": "019a9000-0000-7000-8000-0000000c0003", |
| 8130 | + "name": "frame: corner 3", |
| 8131 | + "map": "019a9000-0000-7000-8000-00000000aa01", |
| 8132 | + "zone": "019a9000-0000-7000-8000-0000000b0001", |
| 8133 | + "x": 60, |
| 8134 | + "y": 40, |
| 8135 | + "order": 2 |
| 8136 | + }, |
| 8137 | + { |
| 8138 | + "type": "pin", |
| 8139 | + "id": "019a9000-0000-7000-8000-0000000d0001", |
| 8140 | + "name": "captain on the board", |
| 8141 | + "map": "019a9000-0000-7000-8000-00000000aa01", |
| 8142 | + "x": 30, |
| 8143 | + "y": 70, |
| 8144 | + "element_type": "character", |
| 8145 | + "element_id": "019a9000-0000-7000-8000-0000000e0001", |
| 8146 | + "x_hand": true |
| 8147 | + }, |
| 8148 | + { |
| 8149 | + "type": "pin", |
| 8150 | + "id": "019a9000-0000-7000-8000-0000000d0002", |
| 8151 | + "name": "harbour", |
| 8152 | + "map": "019a9000-0000-7000-8000-00000000aa02", |
| 8153 | + "x": 250, |
| 8154 | + "y": 120, |
| 8155 | + "element_type": "location", |
| 8156 | + "element_id": "019a9000-0000-7000-8000-0000000e0002" |
| 8157 | + } |
| 8158 | + ], |
| 8159 | + "want": { |
| 8160 | + "maps": [ |
| 8161 | + { |
| 8162 | + "id": "019a9000-0000-7000-8000-00000000aa01", |
| 8163 | + "width": 200, |
| 8164 | + "height": 100, |
| 8165 | + "depth": null, |
| 8166 | + "z_max": 0, |
| 8167 | + "scale": null, |
| 8168 | + "location": null, |
| 8169 | + "parent_map": null |
| 8170 | + }, |
| 8171 | + { |
| 8172 | + "id": "019a9000-0000-7000-8000-00000000aa02", |
| 8173 | + "width": 400, |
| 8174 | + "height": 300, |
| 8175 | + "depth": null, |
| 8176 | + "z_max": 0, |
| 8177 | + "scale": null, |
| 8178 | + "location": null, |
| 8179 | + "parent_map": null |
| 8180 | + } |
| 8181 | + ], |
| 8182 | + "zones": [ |
| 8183 | + { |
| 8184 | + "zone": "019a9000-0000-7000-8000-0000000b0001", |
| 8185 | + "map": "019a9000-0000-7000-8000-00000000aa01", |
| 8186 | + "shape": "polygon", |
| 8187 | + "points": [ |
| 8188 | + [ |
| 8189 | + 10, |
| 8190 | + 90, |
| 8191 | + 0 |
| 8192 | + ], |
| 8193 | + [ |
| 8194 | + 60, |
| 8195 | + 90, |
| 8196 | + 0 |
| 8197 | + ], |
| 8198 | + [ |
| 8199 | + 60, |
| 8200 | + 40, |
| 8201 | + 0 |
| 8202 | + ] |
| 8203 | + ] |
| 8204 | + } |
| 8205 | + ], |
| 8206 | + "pins": [ |
| 8207 | + { |
| 8208 | + "pin": "019a9000-0000-7000-8000-0000000d0001", |
| 8209 | + "map": "019a9000-0000-7000-8000-00000000aa01", |
| 8210 | + "element_type": "character", |
| 8211 | + "element_id": "019a9000-0000-7000-8000-0000000e0001", |
| 8212 | + "x": 30, |
| 8213 | + "y": 70, |
| 8214 | + "z": 0 |
| 8215 | + }, |
| 8216 | + { |
| 8217 | + "pin": "019a9000-0000-7000-8000-0000000d0002", |
| 8218 | + "map": "019a9000-0000-7000-8000-00000000aa02", |
| 8219 | + "element_type": "location", |
| 8220 | + "element_id": "019a9000-0000-7000-8000-0000000e0002", |
| 8221 | + "x": 250, |
| 8222 | + "y": 120, |
| 8223 | + "z": 0 |
| 8224 | + } |
| 8225 | + ], |
| 8226 | + "out": {} |
| 8227 | + } |
8070 | 8228 | } |
8071 | 8229 | ], |
8072 | 8230 | "layout_cases": [ |
|
8960 | 9118 | "ground": null, |
8961 | 9119 | "hand": [] |
8962 | 9120 | } |
| 9121 | + }, |
| 9122 | + { |
| 9123 | + "name": "parentless-layout-beside-ground", |
| 9124 | + "claim": "rule 8, the reading rule 11 rests on: a layout map with no `parent_map` that holds more Pins than the ground is still the layout map; neither a missing parent nor a Pin count makes or unmakes a layout (rule 8 reads the key alone)", |
| 9125 | + "map": "019a9100-0000-7000-8000-00000000aa01", |
| 9126 | + "elements": [ |
| 9127 | + { |
| 9128 | + "type": "map", |
| 9129 | + "id": "019a9100-0000-7000-8000-00000000aa01", |
| 9130 | + "name": "layout", |
| 9131 | + "parent_map": null, |
| 9132 | + "x_layout": { |
| 9133 | + "method": "trail-by-place", |
| 9134 | + "settings": { |
| 9135 | + "ground": { |
| 9136 | + "map": "019a9100-0000-7000-8000-00000000aa02", |
| 9137 | + "width": 3000, |
| 9138 | + "height": 2000 |
| 9139 | + } |
| 9140 | + } |
| 9141 | + } |
| 9142 | + }, |
| 9143 | + { |
| 9144 | + "type": "map", |
| 9145 | + "id": "019a9100-0000-7000-8000-00000000aa02", |
| 9146 | + "name": "ground", |
| 9147 | + "parent_map": null, |
| 9148 | + "width": 3000, |
| 9149 | + "height": 2000 |
| 9150 | + }, |
| 9151 | + { |
| 9152 | + "type": "pin", |
| 9153 | + "id": "019a9100-0000-7000-8000-0000000d0001", |
| 9154 | + "name": "pin 1", |
| 9155 | + "map": "019a9100-0000-7000-8000-00000000aa01", |
| 9156 | + "x": 100, |
| 9157 | + "y": 100 |
| 9158 | + }, |
| 9159 | + { |
| 9160 | + "type": "pin", |
| 9161 | + "id": "019a9100-0000-7000-8000-0000000d0002", |
| 9162 | + "name": "pin 2", |
| 9163 | + "map": "019a9100-0000-7000-8000-00000000aa01", |
| 9164 | + "x": 200, |
| 9165 | + "y": 100 |
| 9166 | + }, |
| 9167 | + { |
| 9168 | + "type": "pin", |
| 9169 | + "id": "019a9100-0000-7000-8000-0000000d0003", |
| 9170 | + "name": "pin 3", |
| 9171 | + "map": "019a9100-0000-7000-8000-00000000aa01", |
| 9172 | + "x": 300, |
| 9173 | + "y": 100 |
| 9174 | + }, |
| 9175 | + { |
| 9176 | + "type": "pin", |
| 9177 | + "id": "019a9100-0000-7000-8000-0000000d0004", |
| 9178 | + "name": "pin 4", |
| 9179 | + "map": "019a9100-0000-7000-8000-00000000aa02", |
| 9180 | + "x": 50, |
| 9181 | + "y": 50 |
| 9182 | + } |
| 9183 | + ], |
| 9184 | + "want": { |
| 9185 | + "layout": "trail-by-place", |
| 9186 | + "ground": "019a9100-0000-7000-8000-00000000aa02", |
| 9187 | + "hand": [] |
| 9188 | + } |
| 9189 | + }, |
| 9190 | + { |
| 9191 | + "name": "ground-beside-parentless-layout", |
| 9192 | + "claim": "rule 8, the reading rule 11 rests on: the ground beside it, with no `parent_map` and fewer Pins, is no layout map: the reading answers it as a plain Map", |
| 9193 | + "map": "019a9100-0000-7000-8000-00000000aa02", |
| 9194 | + "elements": [ |
| 9195 | + { |
| 9196 | + "type": "map", |
| 9197 | + "id": "019a9100-0000-7000-8000-00000000aa01", |
| 9198 | + "name": "layout", |
| 9199 | + "parent_map": null, |
| 9200 | + "x_layout": { |
| 9201 | + "method": "trail-by-place", |
| 9202 | + "settings": { |
| 9203 | + "ground": { |
| 9204 | + "map": "019a9100-0000-7000-8000-00000000aa02", |
| 9205 | + "width": 3000, |
| 9206 | + "height": 2000 |
| 9207 | + } |
| 9208 | + } |
| 9209 | + } |
| 9210 | + }, |
| 9211 | + { |
| 9212 | + "type": "map", |
| 9213 | + "id": "019a9100-0000-7000-8000-00000000aa02", |
| 9214 | + "name": "ground", |
| 9215 | + "parent_map": null, |
| 9216 | + "width": 3000, |
| 9217 | + "height": 2000 |
| 9218 | + }, |
| 9219 | + { |
| 9220 | + "type": "pin", |
| 9221 | + "id": "019a9100-0000-7000-8000-0000000d0001", |
| 9222 | + "name": "pin 1", |
| 9223 | + "map": "019a9100-0000-7000-8000-00000000aa01", |
| 9224 | + "x": 100, |
| 9225 | + "y": 100 |
| 9226 | + }, |
| 9227 | + { |
| 9228 | + "type": "pin", |
| 9229 | + "id": "019a9100-0000-7000-8000-0000000d0002", |
| 9230 | + "name": "pin 2", |
| 9231 | + "map": "019a9100-0000-7000-8000-00000000aa01", |
| 9232 | + "x": 200, |
| 9233 | + "y": 100 |
| 9234 | + }, |
| 9235 | + { |
| 9236 | + "type": "pin", |
| 9237 | + "id": "019a9100-0000-7000-8000-0000000d0003", |
| 9238 | + "name": "pin 3", |
| 9239 | + "map": "019a9100-0000-7000-8000-00000000aa01", |
| 9240 | + "x": 300, |
| 9241 | + "y": 100 |
| 9242 | + }, |
| 9243 | + { |
| 9244 | + "type": "pin", |
| 9245 | + "id": "019a9100-0000-7000-8000-0000000d0004", |
| 9246 | + "name": "pin 4", |
| 9247 | + "map": "019a9100-0000-7000-8000-00000000aa02", |
| 9248 | + "x": 50, |
| 9249 | + "y": 50 |
| 9250 | + } |
| 9251 | + ], |
| 9252 | + "want": { |
| 9253 | + "layout": null, |
| 9254 | + "ground": null, |
| 9255 | + "hand": [] |
| 9256 | + } |
8963 | 9257 | } |
8964 | 9258 | ] |
8965 | 9259 | } |
0 commit comments