import { DEBUG } from "./config.js"; export function showHelp() { if (DEBUG) console.log("❔ showHelp() opened"); const helpOverlay = document.createElement("div"); helpOverlay.id = "help-overlay"; helpOverlay.innerHTML = `

🧠 How to Play

This is a memory game with 4 dimensions:

You see one tile – then after a short pause the board changes. Your task: guess which dimension stayed the same.

Use the buttons to select the unchanged dimension. You can only pick once per round.

`; document.body.appendChild(helpOverlay); document.getElementById("close-help").onclick = () => { helpOverlay.remove(); if (DEBUG) console.log("❌ showHelp() closed"); }; }