diff options
Diffstat (limited to 'tools/coord.js')
-rw-r--r-- | tools/coord.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/coord.js b/tools/coord.js new file mode 100644 index 0000000..5776990 --- /dev/null +++ b/tools/coord.js @@ -0,0 +1,7 @@ +for (let row=1; row<=9; ++row) { + let y = -(row-1) * 62 + for (let col=1; col<=7; ++col) { + let x = -(col-1) * 62 + console.log(`.known.block_${row}${col}{background-position:${x}px ${y}px}`) + } +} |