diff --git a/src/Views/battlefield-editor.php b/src/Views/battlefield-editor.php new file mode 100644 index 0000000..e61211d --- /dev/null +++ b/src/Views/battlefield-editor.php @@ -0,0 +1,56 @@ + Escape::html($v); +$a = static fn (string $v): string => Escape::attr($v); +$terrain = ['open', 'forest', 'rough', 'water', 'blocking']; +?> +

Battlefield editor

+

Scenario:

+
+ +
+ Battlefield + + +
+
+ Terrain palette + + + +
+
+ Grid ( × ) + + + + + + + + +
+
+
+ Deployment zones + + + +
+ +
+ + Escape::html($v); +$matchInfo = $matchJson !== null ? "Match loaded." : "No match in progress."; +?> +

Match

+

+ +
+ Match state (debug) +
+
+ +

Battle interface coming in Plan 4.

+

Back to home

+ Escape::html($v); +$json = json_encode(['url' => $url], JSON_THROW_ON_ERROR); +?> +

Uploaded:

+ +