summaryrefslogtreecommitdiff
path: root/2026/games/peetseater/harness.html
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2026-07-17 03:10:43 -0400
committerLLLL Colonq <llll@colonq>2026-07-17 03:10:43 -0400
commit07a36f2b38a5cba402ebc5158710f5a85f443456 (patch)
treef28855384eadc73f49cc1a707a73896f87bc5530 /2026/games/peetseater/harness.html
parent951b316773265052fbc5fa546bbcf31bef277062 (diff)
Post-stream update
Diffstat (limited to '2026/games/peetseater/harness.html')
-rw-r--r--2026/games/peetseater/harness.html31
1 files changed, 0 insertions, 31 deletions
diff --git a/2026/games/peetseater/harness.html b/2026/games/peetseater/harness.html
deleted file mode 100644
index be1eac3..0000000
--- a/2026/games/peetseater/harness.html
+++ /dev/null
@@ -1,31 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <title>LCOLONQ Game Jam 2026 Testing Harnass</title>
-</head>
-<body>
- <iframe width="480px" height="320px" src="/games/micro2026/index.html" allow="*" sandbox="allow-scripts allow-same-origin"></iframe>
- <button id="send_start">Send Start</button>
- <label>Difficulty
- <input id="difficulty" type="number" value="0" />
- </label>
- <p id="child-messages"><p>
- <script>
- const iframe = document.querySelector("iframe");
- const difficulty = document.getElementById('difficulty');
- iframe.onload = function() {
- const start = document.getElementById("send_start");
- start.onclick = () => {
- iframe.contentWindow.postMessage({op: "start", difficulty: parseInt(difficulty.value,10)}, '*');
- }
- };
-
- const childMessages = document.getElementById('child-messages');
- window.addEventListener("message", (ev) => {
- childMessages.textContent = childMessages.textContent + JSON.stringify(ev.data) + '\n';
- });
- </script>
-</body>
-</html> \ No newline at end of file