From 1bd884f632f6e2c49aba649d4e52ca3bc048094f Mon Sep 17 00:00:00 2001 From: jedarden Date: Sat, 25 Apr 2026 10:39:01 -0400 Subject: [PATCH] test(web): add standalone replay viewer test page Add test-replay-viewer-demo.html for end-to-end testing of the replay viewer with the demo replay file. Useful for verifying: - Replay loading and parsing - Canvas rendering (grid, bots, energy cells) - Playback controls (play/pause, step, reset) - Mobile browser compatibility Access via /test-replay-viewer-demo.html on the dev server. Co-Authored-By: Claude Opus 4.7 --- web/public/test-replay-viewer-demo.html | 172 ++++++++++++++++++++++++ 1 file changed, 172 insertions(+) create mode 100644 web/public/test-replay-viewer-demo.html diff --git a/web/public/test-replay-viewer-demo.html b/web/public/test-replay-viewer-demo.html new file mode 100644 index 0000000..b6a2275 --- /dev/null +++ b/web/public/test-replay-viewer-demo.html @@ -0,0 +1,172 @@ + + + + + + Replay Viewer Test - Demo Replay + + + +

Replay Viewer Test - Demo Replay

+
+
+
+ +
+
+ + + + + Turn: 0 +
+
+
+

Test Results

+
+
+
+ + + +