{"id":3901,"date":"2025-06-14T19:09:11","date_gmt":"2025-06-15T00:09:11","guid":{"rendered":"https:\/\/madlysane.com\/?page_id=3901"},"modified":"2026-04-19T23:16:22","modified_gmt":"2026-04-20T04:16:22","slug":"madlysane-games","status":"publish","type":"page","link":"https:\/\/madlysane.com\/en\/madlysane-games\/","title":{"rendered":"Madlysane Games"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n  <meta charset=\"UTF-8\">\n  <title>MadlySane Games<\/title>\n  <style>\n    body {\n      font-family: 'Arial', sans-serif;\n      text-align: center;\n      background-color: #f0f0f0;\n      padding: 50px;\n    }\n    .game {\n      background-color: #fff;\n      padding: 30px;\n      border-radius: 10px;\n      box-shadow: 0 0 10px rgba(0,0,0,0.1);\n      margin-bottom: 50px;\n    }\n    .color-button, .memory-card, .mood-button, .breathing-button {\n      padding: 15px 30px;\n      margin: 10px;\n      border: none;\n      border-radius: 5px;\n      font-size: 18px;\n      cursor: pointer;\n      color: #fff;\n    }\n    .memory-card {\n      background-color: #3498db;\n      color: #fff;\n      width: 100px;\n      height: 100px;\n      display: inline-block;\n      vertical-align: top;\n      line-height: 100px;\n      font-size: 24px;\n    }\n    .hidden {\n      background-color: #95a5a6;\n      color: #95a5a6;\n    }\n    #message, #memory-message, #mood-message, #breathing-message {\n      margin-top: 20px;\n      font-size: 20px;\n    }\n  <\/style>\n<\/head>\n<body>\n  <h1>MadlySane Games<\/h1>\n\n  <!-- Color Match Calm Game -->\n  <div class=\"game\" id=\"color-match-game\">\n    <h2>Color Match Calm<\/h2>\n    <p>Click the button that matches the background color.<\/p>\n    <div id=\"color-buttons\"><\/div>\n    <div id=\"message\"><\/div>\n  <\/div>\n\n  <!-- Breathing Exercise Game -->\n  <div class=\"game\" id=\"breathing-exercise-game\">\n    <h2>Breathing Exercise<\/h2>\n    <p>Follow the breathing guide to relax.<\/p>\n    <button class=\"breathing-button\" id=\"start-breathing\">Start Breathing Exercise<\/button>\n    <div id=\"breathing-message\"><\/div>\n  <\/div>\n\n  <!-- Memory Match Game -->\n  <div class=\"game\" id=\"memory-match-game\">\n    <h2>Memory Match<\/h2>\n    <p>Flip the cards to find pairs.<\/p>\n    <div id=\"memory-cards\"><\/div>\n    <div id=\"memory-message\"><\/div>\n  <\/div>\n\n  <!-- Mood-Based Activity Picker -->\n  <div class=\"game\" id=\"mood-picker-game\">\n    <h2>Mood-Based Activity Picker<\/h2>\n    <p>Click on your current mood to get a suggestion.<\/p>\n    <button class=\"mood-button\" style=\"background-color: #e74c3c;\" onclick=\"showMoodActivity('Happy')\">Happy<\/button>\n    <button class=\"mood-button\" style=\"background-color: #3498db;\" onclick=\"showMoodActivity('Sad')\">Sad<\/button>\n    <button class=\"mood-button\" style=\"background-color: #2ecc71;\" onclick=\"showMoodActivity('Calm')\">Calm<\/button>\n    <button class=\"mood-button\" style=\"background-color: #f1c40f;\" onclick=\"showMoodActivity('Anxious')\">Anxious<\/button>\n    <div id=\"mood-message\"><\/div>\n  <\/div>\n\n  <script>\n    \/\/ Color Match Calm Game\n    const colors = [\n      { name: \"Red\", hex: \"#e74c3c\" },\n      { name: \"Green\", hex: \"#2ecc71\" },\n      { name: \"Blue\", hex: \"#3498db\" },\n      { name: \"Purple\", hex: \"#9b59b6\" },\n      { name: \"Orange\", hex: \"#e67e22\" }\n    ];\n\n    const colorGame = document.getElementById(\"color-match-game\");\n    const colorButtonsDiv = document.getElementById(\"color-buttons\");\n    const colorMessage = document.getElementById(\"message\");\n\n    function newColorRound() {\n      colorMessage.textContent = \"\";\n      colorButtonsDiv.innerHTML = \"\";\n\n      const correctColor = colors[Math.floor(Math.random() * colors.length)];\n      colorGame.style.backgroundColor = correctColor.hex;\n\n      const shuffled = [...colors].sort(() => 0.5 - Math.random());\n      shuffled.forEach(color => {\n        const btn = document.createElement(\"button\");\n        btn.textContent = color.name;\n        btn.className = \"color-button\";\n        btn.style.backgroundColor = color.hex;\n        btn.onclick = () => {\n          colorMessage.textContent = color.name === correctColor.name ? \"\u2705 Great job!\" : \"\u274c Try again!\";\n          setTimeout(newColorRound, 1000);\n        };\n        colorButtonsDiv.appendChild(btn);\n      });\n    }\n\n    newColorRound();\n\n    \/\/ Breathing Exercise Game\n    const breathingButton = document.getElementById(\"start-breathing\");\n    const breathingMessage = document.getElementById(\"breathing-message\");\n\n    breathingButton.onclick = () => {\n      breathingMessage.textContent = \"Breathe in...\";\n      setTimeout(() => {\n        breathingMessage.textContent = \"Hold...\";\n        setTimeout(() => {\n          breathingMessage.textContent = \"Breathe out...\";\n          setTimeout(() => {\n            breathingMessage.textContent = \"Relax...\";\n          }, 4000);\n        }, 4000);\n      }, 4000);\n    };\n\n    \/\/ Memory Match Game\n    const memoryCardsDiv = document.getElementById(\"memory-cards\");\n    const memoryMessage = document.getElementById(\"memory-message\");\n    const memoryCards = [\"A\", \"A\", \"B\", \"B\", \"C\", \"C\", \"D\", \"D\"];\n\n    let firstCard = null;\n    let secondCard = null;\n    let matches = 0;\n\n    function newMemoryRound() {\n      memoryMessage.textContent = \"\";\n      memoryCardsDiv.innerHTML = \"\";\n      matches = 0;\n\n      const shuffledCards = [...memoryCards].sort(() => 0.5 - Math.random());\n      shuffledCards.forEach(card => {\n        const cardDiv = document.createElement(\"div\");\n        cardDiv.className = \"memory-card hidden\";\n        cardDiv.dataset.card = card;\n        cardDiv.onclick = () => {\n          if (firstCard && secondCard) return;\n          cardDiv.classList.remove(\"hidden\");\n          cardDiv.textContent = card;\n          if (!firstCard) {\n            firstCard = cardDiv;\n          } else if (!secondCard) {\n            secondCard = cardDiv;\n            if (firstCard.dataset.card === secondCard.dataset.card) {\n              matches += 1;\n              firstCard = null;\n              secondCard = null;\n              if (matches === memoryCards.length \/ 2) {\n                memoryMessage.textContent = \"\u2705 You found all pairs!\";\n                setTimeout(newMemoryRound, 2000);\n              }\n            } else {\n              setTimeout(() => {\n                firstCard.classList.add(\"hidden\");\n                secondCard.classList.add(\"hidden\");\n                firstCard.textContent = \"\";\n                secondCard.textContent = \"\";\n                firstCard = null;\n                secondCard = null;\n              }, 1000);\n            }\n          }\n        };\n        memoryCardsDiv.appendChild(cardDiv);\n      });\n    }\n\n    newMemoryRound();\n\n   \/\/ Mood-Based Activity Picker (Expanded + Randomized)\nconst moodMessage = document.getElementById(\"mood-message\");\n\nconst moodSuggestions = {\n  Happy: [\n    \"\ud83d\ude0a Enjoy this moment \u2014 maybe play a quick game you love.\",\n    \"\ud83c\udfb6 Put on a song that matches your energy.\",\n    \"\ud83d\udcf8 Capture something that makes you smile.\",\n    \"\ud83d\udcac Share a kind message with someone you trust.\"\n  ],\n  Sad: [\n    \"\ud83d\udc9b It's okay to feel this way. Try a slow, deep breath.\",\n    \"\ud83d\udcdd Write one sentence about what you're feeling \u2014 no pressure.\",\n    \"\u2615 Make something warm to drink and sit with it for a moment.\",\n    \"\ud83c\udfa7 Listen to something soft and grounding.\"\n  ],\n  Calm: [\n    \"\ud83d\ude0c Lean into the calm \u2014 maybe stretch your shoulders gently.\",\n    \"\ud83d\udcd6 Read a few lines of something comforting.\",\n    \"\ud83c\udf3f Look at something green or natural around you.\",\n    \"\ud83d\udd6f Sit quietly for 10 seconds and notice your breathing.\"\n  ],\n  Anxious: [\n    \"\ud83c\udf2c Try a slow inhale for 4 seconds\u2026 exhale for 6.\",\n    \"\ud83e\udde9 Do a simple task that gives your mind structure.\",\n    \"\ud83d\udccd Name 3 things you can see around you.\",\n    \"\ud83e\udd32 Place your hands on your chest and breathe slowly.\"\n  ]\n};\n\nfunction showMoodActivity(mood) {\n  const options = moodSuggestions[mood];\n  const random = Math.floor(Math.random() * options.length);\n  moodMessage.textContent = options[random];\n}\n\n  <\/script>\n<\/body>\n<\/html>\n","protected":false},"excerpt":{"rendered":"<p>MadlySane Games MadlySane Games Color Match Calm Click the button that matches the background color. Breathing Exercise Follow the breathing guide to relax. Start Breathing Exercise Memory Match Flip the cards to find pairs. Mood-Based Activity Picker Click on your current mood to get a suggestion. Happy Sad Calm Anxious<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"class_list":["post-3901","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.7 (Yoast SEO v27.7) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Madlysane Games - MadlySane.com<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/madlysane.com\/en\/madlysane-games\/\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:locale\" content=\"en_US\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:type\" content=\"article\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:title\" content=\"Madlysane Games\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:description\" content=\"MadlySane Games MadlySane Games Color Match Calm Click the button that matches the background color. Breathing Exercise Follow the breathing guide to relax. Start Breathing Exercise Memory Match Flip the cards to find pairs. Mood-Based Activity Picker Click on your current mood to get a suggestion. Happy Sad Calm Anxious\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:url\" content=\"https:\/\/madlysane.com\/en\/madlysane-games\/\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:site_name\" content=\"MadlySane.com\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"article:modified_time\" content=\"2026-04-20T04:16:22+00:00\" class=\"yoast-seo-meta-tag\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" class=\"yoast-seo-meta-tag\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/madlysane.com\\\/madlysane-games\\\/\",\"url\":\"https:\\\/\\\/madlysane.com\\\/madlysane-games\\\/\",\"name\":\"Madlysane Games - MadlySane.com\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/madlysanecom-fc9fa3.ingress-alpha.ewp.live\\\/#website\"},\"datePublished\":\"2025-06-15T00:09:11+00:00\",\"dateModified\":\"2026-04-20T04:16:22+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/madlysane.com\\\/madlysane-games\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/madlysane.com\\\/madlysane-games\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/madlysane.com\\\/madlysane-games\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/madlysanecom-fc9fa3.ingress-alpha.ewp.live\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Madlysane Games\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/madlysanecom-fc9fa3.ingress-alpha.ewp.live\\\/#website\",\"url\":\"https:\\\/\\\/madlysanecom-fc9fa3.ingress-alpha.ewp.live\\\/\",\"name\":\"MadlySane.com\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/madlysanecom-fc9fa3.ingress-alpha.ewp.live\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/madlysanecom-fc9fa3.ingress-alpha.ewp.live\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/madlysanecom-fc9fa3.ingress-alpha.ewp.live\\\/#organization\",\"name\":\"MadlySane.com LLC\",\"url\":\"https:\\\/\\\/madlysanecom-fc9fa3.ingress-alpha.ewp.live\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/madlysanecom-fc9fa3.ingress-alpha.ewp.live\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/madlysane.com\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/profile_logo_e0516ebb-57a8-447d-9489-b48962f2e18e-2-e1753881599226.jpg\",\"contentUrl\":\"https:\\\/\\\/madlysane.com\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/profile_logo_e0516ebb-57a8-447d-9489-b48962f2e18e-2-e1753881599226.jpg\",\"width\":60,\"height\":60,\"caption\":\"MadlySane.com LLC\"},\"image\":{\"@id\":\"https:\\\/\\\/madlysanecom-fc9fa3.ingress-alpha.ewp.live\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/madlysane.com\\\/yoast\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Madlysane Games - MadlySane.com","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/madlysane.com\/en\/madlysane-games\/","og_locale":"en_US","og_type":"article","og_title":"Madlysane Games","og_description":"MadlySane Games MadlySane Games Color Match Calm Click the button that matches the background color. Breathing Exercise Follow the breathing guide to relax. Start Breathing Exercise Memory Match Flip the cards to find pairs. Mood-Based Activity Picker Click on your current mood to get a suggestion. Happy Sad Calm Anxious","og_url":"https:\/\/madlysane.com\/en\/madlysane-games\/","og_site_name":"MadlySane.com","article_modified_time":"2026-04-20T04:16:22+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/madlysane.com\/madlysane-games\/","url":"https:\/\/madlysane.com\/madlysane-games\/","name":"Madlysane Games - MadlySane.com","isPartOf":{"@id":"https:\/\/madlysanecom-fc9fa3.ingress-alpha.ewp.live\/#website"},"datePublished":"2025-06-15T00:09:11+00:00","dateModified":"2026-04-20T04:16:22+00:00","breadcrumb":{"@id":"https:\/\/madlysane.com\/madlysane-games\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/madlysane.com\/madlysane-games\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/madlysane.com\/madlysane-games\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/madlysanecom-fc9fa3.ingress-alpha.ewp.live\/"},{"@type":"ListItem","position":2,"name":"Madlysane Games"}]},{"@type":"WebSite","@id":"https:\/\/madlysanecom-fc9fa3.ingress-alpha.ewp.live\/#website","url":"https:\/\/madlysanecom-fc9fa3.ingress-alpha.ewp.live\/","name":"MadlySane.com","description":"","publisher":{"@id":"https:\/\/madlysanecom-fc9fa3.ingress-alpha.ewp.live\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/madlysanecom-fc9fa3.ingress-alpha.ewp.live\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/madlysanecom-fc9fa3.ingress-alpha.ewp.live\/#organization","name":"MadlySane.com LLC","url":"https:\/\/madlysanecom-fc9fa3.ingress-alpha.ewp.live\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/madlysanecom-fc9fa3.ingress-alpha.ewp.live\/#\/schema\/logo\/image\/","url":"https:\/\/madlysane.com\/wp-content\/uploads\/2025\/05\/profile_logo_e0516ebb-57a8-447d-9489-b48962f2e18e-2-e1753881599226.jpg","contentUrl":"https:\/\/madlysane.com\/wp-content\/uploads\/2025\/05\/profile_logo_e0516ebb-57a8-447d-9489-b48962f2e18e-2-e1753881599226.jpg","width":60,"height":60,"caption":"MadlySane.com LLC"},"image":{"@id":"https:\/\/madlysanecom-fc9fa3.ingress-alpha.ewp.live\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/madlysane.com\/yoast"]}]}},"jetpack_sharing_enabled":true,"jetpack-related-posts":[],"brizy_media":[],"_links":{"self":[{"href":"https:\/\/madlysane.com\/en\/wp-json\/wp\/v2\/pages\/3901","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/madlysane.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/madlysane.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/madlysane.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/madlysane.com\/en\/wp-json\/wp\/v2\/comments?post=3901"}],"version-history":[{"count":5,"href":"https:\/\/madlysane.com\/en\/wp-json\/wp\/v2\/pages\/3901\/revisions"}],"predecessor-version":[{"id":7872,"href":"https:\/\/madlysane.com\/en\/wp-json\/wp\/v2\/pages\/3901\/revisions\/7872"}],"wp:attachment":[{"href":"https:\/\/madlysane.com\/en\/wp-json\/wp\/v2\/media?parent=3901"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}