From 3945887e62e9bc8c71e7a21c6630a4ce470f5d8e Mon Sep 17 00:00:00 2001 From: Jared Miller Date: Sat, 7 Feb 2026 16:28:21 -0500 Subject: [PATCH] Add a map editor --- justfile | 3 + scripts/map_editor.html | 843 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 846 insertions(+) create mode 100644 scripts/map_editor.html diff --git a/justfile b/justfile index 2a629cb..19bc568 100644 --- a/justfile +++ b/justfile @@ -18,3 +18,6 @@ debug: render: uv run python scripts/render_map.py + +edit: + python -c "import webbrowser, pathlib; webbrowser.open('file://' + str(pathlib.Path('scripts/map_editor.html').resolve()))" diff --git a/scripts/map_editor.html b/scripts/map_editor.html new file mode 100644 index 0000000..bf14186 --- /dev/null +++ b/scripts/map_editor.html @@ -0,0 +1,843 @@ + + + + + + ASCII Map Editor + + + + + +
+ +
+ + + +