Build scenarios from data in SVG files

This commit is contained in:
2025-06-16 22:41:32 -07:00
parent c9e012be16
commit 2e5d35e8ad
11 changed files with 324 additions and 659 deletions

View File

@@ -1,4 +1,4 @@
<?xml version="1.0" standalone="yes"?>
<?xml version="1.0" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-10 -10 200 300">
<g class="gameboard">
<g class="grid">

Before

Width:  |  Height:  |  Size: 992 B

After

Width:  |  Height:  |  Size: 991 B

View File

@@ -88,5 +88,5 @@ global.selectCounter = function (counter) {
}
global.svgDocument = function (document) {
return `<?xml version="1.0" standalone="yes"?>\n` + document.querySelector('svg').outerHTML;
return `<?xml version="1.0" standalone="no"?>\n` + document.querySelector('svg').outerHTML;
}