diff options
| author | LLLL Colonq <llll@colonq> | 2026-08-03 19:36:31 -0400 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2026-08-03 19:36:31 -0400 |
| commit | a75221ab93f59d688f90cd83f0284ff98951fcfa (patch) | |
| tree | 215c9480f5b1bfdf63f9a0141b06a7cbefaab2e8 /2026/games_submissions/peetseater/harness.html | |
| parent | 9127154100230e8d60ab5139fb1bc626b24068ee (diff) | |
Update
Diffstat (limited to '2026/games_submissions/peetseater/harness.html')
| -rw-r--r-- | 2026/games_submissions/peetseater/harness.html | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/2026/games_submissions/peetseater/harness.html b/2026/games_submissions/peetseater/harness.html deleted file mode 100644 index be1eac3..0000000 --- a/2026/games_submissions/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 |
