{"id":1538,"date":"2025-03-05T18:01:24","date_gmt":"2025-03-05T14:01:24","guid":{"rendered":"https:\/\/windowedu.in\/blog\/?p=1538"},"modified":"2025-03-05T20:22:58","modified_gmt":"2025-03-05T16:22:58","slug":"test-%e0%b4%95%e0%b4%b3%e0%b4%bf-%e0%b4%88%e0%b4%b8%e0%b4%bf-%e0%b4%aa%e0%b5%80%e0%b4%b8%e0%b4%bf-%f0%9f%98%8e%e0%b4%aa%e0%b5%8b%e0%b4%b8%e0%b4%bf%e0%b4%b1%e0%b5%8d%e0%b4%b1%e0%b5%80%e0%b4%b5","status":"publish","type":"post","link":"https:\/\/windowedu.in\/blog\/?p=1538","title":{"rendered":"test+\/- \u0d15\u0d33\u0d3f. . \u0d08\u0d38\u0d3f \u0d2a\u0d40\u0d38\u0d3f! \ud83d\ude0e\u0d2a\u0d4b\u0d38\u0d3f\u0d31\u0d4d\u0d31\u0d40\u0d35\u0d41\u0d02 \u0d28\u0d46\u0d17\u0d31\u0d4d\u0d31\u0d40\u0d35\u0d41\u0d02 \u0d15\u0d42\u0d1f\u0d4d\u0d1f\u0d3e\u0d02 \u0d15\u0d41\u0d31\u0d15\u0d4d\u0d15\u0d3e\u0d02"},"content":{"rendered":"\n<style>\n.windowedu-quiz {\n  font-family: Arial, sans-serif;\n  max-width: 100%;\n  background-color: #f0f8ff;\n  border-radius: 16px;\n  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);\n  padding: 20px;\n  margin-bottom: 30px;\n}\n\n.windowedu-header {\n  display: flex;\n  justify-content: space-between;\n  align-items: center;\n  margin-bottom: 15px;\n}\n\n.windowedu-logo {\n  height: 40px;\n}\n\n.windowedu-controls {\n  display: flex;\n  align-items: center;\n}\n\n.windowedu-time, .windowedu-score {\n  padding: 8px 12px;\n  border-radius: 8px;\n  font-weight: bold;\n  margin-left: 8px;\n}\n\n.windowedu-time {\n  background-color: #e3f2fd;\n  color: #1e88e5;\n}\n\n.windowedu-score {\n  background-color: #fff9c4;\n  color: #ffa000;\n}\n\n.windowedu-sound {\n  background-color: #e3f2fd;\n  border: none;\n  border-radius: 50%;\n  width: 36px;\n  height: 36px;\n  margin-right: 8px;\n  cursor: pointer;\n  font-size: 18px;\n}\n\n.windowedu-monkey {\n  height: 60px;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  margin: 15px 0;\n  font-size: 38px;\n}\n\n.windowedu-button {\n  background-color: #4caf50;\n  color: white;\n  border: none;\n  border-radius: 8px;\n  padding: 15px 30px;\n  font-size: 18px;\n  font-weight: bold;\n  cursor: pointer;\n  margin: 10px auto;\n  display: block;\n}\n\n.windowedu-button:hover {\n  background-color: #388e3c;\n}\n\n.windowedu-submit {\n  background-color: #1e88e5;\n  color: white;\n  border: none;\n  border-radius: 8px;\n  padding: 12px;\n  font-weight: bold;\n  cursor: pointer;\n}\n\n.windowedu-input {\n  padding: 12px;\n  border: 2px solid #90caf9;\n  border-radius: 8px;\n  font-size: 18px;\n  text-align: center;\n  margin-right: 8px;\n  width: 180px;\n}\n\n.windowedu-question {\n  background-color: white;\n  padding: 20px;\n  border-radius: 12px;\n  margin-bottom: 15px;\n  text-align: center;\n}\n\n.windowedu-num {\n  font-size: 24px;\n  font-weight: bold;\n}\n\n.windowedu-feedback {\n  margin-top: 15px;\n  padding: 12px;\n  border-radius: 8px;\n  text-align: center;\n}\n\n.windowedu-feedback.correct {\n  background-color: #e8f5e9;\n  color: #2e7d32;\n}\n\n.windowedu-feedback.incorrect {\n  background-color: #ffebee;\n  color: #c62828;\n}\n\n.windowedu-rules {\n  background-color: white;\n  padding: 20px;\n  border-radius: 12px;\n  margin-bottom: 15px;\n}\n\n.windowedu-title {\n  font-size: 20px;\n  font-weight: bold;\n  color: #1e88e5;\n  margin-bottom: 10px;\n}\n\n.windowedu-explanation {\n  background-color: #ffebee;\n  color: #c62828;\n  padding: 12px;\n  border-radius: 8px;\n  margin: 15px 0;\n}\n\n.windowedu-start {\n  text-align: center;\n  margin: 20px 0;\n}\n\n.windowedu-container {\n  margin: 10px 0;\n}\n\n@media (max-width: 600px) {\n  .windowedu-header {\n    flex-direction: column;\n  }\n  \n  .windowedu-controls {\n    margin-top: 10px;\n  }\n  \n  .windowedu-question {\n    padding: 15px 10px;\n  }\n  \n  .windowedu-input {\n    width: 120px;\n  }\n}\n<\/style>\n\n<div class=\"windowedu-quiz\" id=\"windoweduQuiz\">\n  <audio id=\"windoweduMusic\" loop src=\"https:\/\/windowedu.in\/blog\/wp-content\/uploads\/2025\/03\/Verse-1-3-1.mp3\"><\/audio>\n  \n  <div class=\"windowedu-header\">\n    <img decoding=\"async\" class=\"windowedu-logo\" src=\"https:\/\/windowedu.in\/blog\/wp-content\/uploads\/2025\/03\/1.png\" alt=\"WindowEdu Logo\">\n    <div class=\"windowedu-controls\">\n      <button class=\"windowedu-sound\" id=\"windoweduSound\" onclick=\"windowEduToggleMusic()\">\ud83d\udd07<\/button>\n      <div class=\"windowedu-time\" id=\"windoweduTime\">00:00<\/div>\n      <div class=\"windowedu-score\" id=\"windoweduScore\">Score: 0.0\/10<\/div>\n    <\/div>\n  <\/div>\n  \n  <div class=\"windowedu-monkey\" id=\"windoweduMonkey\">\ud83d\udc12<\/div>\n  \n  <div id=\"windoweduContent\">\n    <div class=\"windowedu-start\">\n      <h2 class=\"windowedu-title\">\u0d2a\u0d42\u0d7c\u0d23\u0d38\u0d02\u0d16\u0d4d\u0d2f\u0d15\u0d33\u0d41\u0d1f\u0d46 \u0d15\u0d42\u0d1f\u0d4d\u0d1f\u0d32\u0d41\u0d02 \u0d15\u0d3f\u0d34\u0d3f\u0d15\u0d4d\u0d15\u0d32\u0d41\u0d02<\/h2>\n      <p>\u0d05\u0d21\u0d3f\u0d37\u0d7b \u0d06\u0d7b\u0d21\u0d4d \u0d38\u0d2c\u0d4d\u0d1f\u0d4d\u0d30\u0d3e\u0d15\u0d4d\u0d37\u0d7b \u0d13\u0d2b\u0d4d \u0d07\u0d28\u0d4d\u0d31\u0d3f\u0d1c\u0d47\u0d34\u0d4d\u0d38\u0d4d<\/p>\n      <div style=\"font-size: 48px; margin: 20px 0;\">\ud83e\uddee \ud83d\udc35 \ud83d\udd22<\/div>\n      <button class=\"windowedu-button\" onclick=\"windowEduStartGame()\">Start Quiz<\/button>\n    <\/div>\n  <\/div>\n<\/div>\n\n<script>\n\/\/ Global variables for the quiz\nvar windowEduScore = 0;\nvar windowEduQuestionCount = 0;\nvar windowEduTimer = 0;\nvar windowEduTimerInterval;\nvar windowEduCurrentQuestion = null;\nvar windowEduGameState = 'intro';\nvar windowEduMusicPlaying = false;\nvar windowEduShowingExplanation = false;\nvar windowEduRuleIndex = 0;\n\n\/\/ Game rules\nvar windowEduRules = [\n  {\n    title: \"\u0d06\u0d26\u0d4d\u0d2f\u0d24\u0d4d\u0d24\u0d46 \u0d28\u0d3f\u0d2f\u0d2e\u0d02\",\n    content: \"\u0d08 \u0d17\u0d46\u0d2f\u0d3f\u0d2e\u0d3f\u0d7d \u0d28\u0d3f\u0d19\u0d4d\u0d19\u0d7e -20 \u0d2e\u0d41\u0d24\u0d7d +20 \u0d35\u0d30\u0d46\u0d2f\u0d41\u0d33\u0d4d\u0d33 \u0d2a\u0d42\u0d7c\u0d23\u0d38\u0d02\u0d16\u0d4d\u0d2f\u0d15\u0d33\u0d41\u0d1f\u0d46 \u0d15\u0d42\u0d1f\u0d4d\u0d1f\u0d32\u0d41\u0d02 \u0d15\u0d3f\u0d34\u0d3f\u0d15\u0d4d\u0d15\u0d32\u0d41\u0d02 \u0d2a\u0d30\u0d3f\u0d36\u0d40\u0d32\u0d3f\u0d15\u0d4d\u0d15\u0d41\u0d02.\",\n    emoji: \"\ud83e\uddee\"\n  },\n  {\n    title: \"\u0d30\u0d23\u0d4d\u0d1f\u0d3e\u0d2e\u0d24\u0d4d\u0d24\u0d46 \u0d28\u0d3f\u0d2f\u0d2e\u0d02\",\n    content: \"\u0d36\u0d30\u0d3f\u0d2f\u0d3e\u0d2f \u0d09\u0d24\u0d4d\u0d24\u0d30\u0d19\u0d4d\u0d19\u0d7e\u0d15\u0d4d\u0d15\u0d4d \u0d28\u0d3f\u0d19\u0d4d\u0d19\u0d7e\u0d15\u0d4d\u0d15\u0d4d 1 \u0d2a\u0d4b\u0d2f\u0d3f\u0d28\u0d4d\u0d31\u0d4d \u0d32\u0d2d\u0d3f\u0d15\u0d4d\u0d15\u0d41\u0d02. \u0d24\u0d46\u0d31\u0d4d\u0d31\u0d3e\u0d2f \u0d09\u0d24\u0d4d\u0d24\u0d30\u0d19\u0d4d\u0d19\u0d7e\u0d15\u0d4d\u0d15\u0d4d 0.5 \u0d2a\u0d4b\u0d2f\u0d3f\u0d28\u0d4d\u0d31\u0d4d \u0d28\u0d37\u0d4d\u0d1f\u0d2a\u0d4d\u0d2a\u0d46\u0d1f\u0d41\u0d02.\",\n    emoji: \"\ud83c\udfc6\"\n  },\n  {\n    title: \"\u0d2e\u0d42\u0d28\u0d4d\u0d28\u0d3e\u0d2e\u0d24\u0d4d\u0d24\u0d46 \u0d28\u0d3f\u0d2f\u0d2e\u0d02\",\n    content: \"\u0d24\u0d46\u0d31\u0d4d\u0d31\u0d3e\u0d2f \u0d09\u0d24\u0d4d\u0d24\u0d30\u0d24\u0d4d\u0d24\u0d3f\u0d28\u0d4d \u0d28\u0d3f\u0d19\u0d4d\u0d19\u0d7e\u0d15\u0d4d\u0d15\u0d4d \u0d12\u0d30\u0d41 \u0d35\u0d3f\u0d36\u0d26\u0d40\u0d15\u0d30\u0d23\u0d02 \u0d32\u0d2d\u0d3f\u0d15\u0d4d\u0d15\u0d41\u0d02.\",\n    emoji: \"\ud83e\udd14\"\n  }\n];\n\n\/\/ Start the quiz when window loads\nwindow.onload = function() {\n  setTimeout(windowEduInitialize, 500);\n};\n\n\/\/ Initialize the quiz\nfunction windowEduInitialize() {\n  var quizElement = document.getElementById('windoweduQuiz');\n  if (!quizElement) {\n    console.log('Quiz element not found, retrying in 500ms');\n    setTimeout(windowEduInitialize, 500);\n    return;\n  }\n  \n  console.log('Math quiz initialized');\n}\n\n\/\/ Start the game\nfunction windowEduStartGame() {\n  windowEduPlayMusic();\n  windowEduShowRules();\n}\n\n\/\/ Show the rules\nfunction windowEduShowRules() {\n  if (windowEduRuleIndex >= windowEduRules.length) {\n    windowEduStartPlaying();\n    return;\n  }\n  \n  var rule = windowEduRules[windowEduRuleIndex];\n  var contentElement = document.getElementById('windoweduContent');\n  \n  var html = '<div class=\"windowedu-rules\">';\n  html += '<h2 class=\"windowedu-title\">' + rule.title + '<\/h2>';\n  html += '<div style=\"font-size: 36px; margin: 10px 0;\">' + rule.emoji + '<\/div>';\n  html += '<p>' + rule.content + '<\/p>';\n  html += '<div style=\"margin: 15px 0;\">Rule ' + (windowEduRuleIndex + 1) + ' of ' + windowEduRules.length + '<\/div>';\n  html += '<button class=\"windowedu-button\" onclick=\"windowEduNextRule()\">Next Rule<\/button>';\n  html += '<\/div>';\n  \n  contentElement.innerHTML = html;\n  \n  \/\/ Animate monkey\n  var monkeyElement = document.getElementById('windoweduMonkey');\n  var monkeyAnimations = ['\ud83d\udc35', '\ud83d\ude48', '\ud83d\ude49', '\ud83d\ude4a', '\ud83d\udc12'];\n  monkeyElement.innerHTML = monkeyAnimations[windowEduRuleIndex % monkeyAnimations.length];\n}\n\n\/\/ Show the next rule\nfunction windowEduNextRule() {\n  windowEduRuleIndex++;\n  windowEduShowRules();\n}\n\n\/\/ Start playing the game\nfunction windowEduStartPlaying() {\n  windowEduGameState = 'playing';\n  windowEduScore = 0;\n  windowEduQuestionCount = 0;\n  windowEduTimer = 0;\n  windowEduShowingExplanation = false;\n  \n  windowEduUpdateScore();\n  windowEduStartTimer();\n  windowEduGenerateQuestion();\n  windowEduShowQuestion();\n}\n\n\/\/ Generate a new question\nfunction windowEduGenerateQuestion() {\n  var operations = ['+', '-'];\n  var operation = operations[Math.floor(Math.random() * operations.length)];\n  \n  var num1 = windowEduGetRandomInt(-20, 20);\n  var num2 = windowEduGetRandomInt(-20, 20);\n  \n  if (operation === '-' && num1 < num2) {\n    var temp = num1;\n    num1 = num2;\n    num2 = temp;\n  }\n  \n  var answer;\n  if (operation === '+') {\n    answer = num1 + num2;\n  } else {\n    answer = num1 - num2;\n  }\n  \n  windowEduCurrentQuestion = {\n    num1: num1,\n    num2: num2,\n    operation: operation,\n    answer: answer\n  };\n}\n\n\/\/ Show the current question\nfunction windowEduShowQuestion() {\n  var contentElement = document.getElementById('windoweduContent');\n  \n  var html = '<div class=\"windowedu-question\">';\n  html += '<h3>Question ' + (windowEduQuestionCount + 1) + ': Calculate<\/h3>';\n  html += '<div class=\"windowedu-num\">' + windowEduCurrentQuestion.num1 + ' ' + windowEduCurrentQuestion.operation + ' ' + windowEduCurrentQuestion.num2 + ' = ?<\/div>';\n  html += '<div class=\"windowedu-container\" style=\"margin-top: 20px;\">';\n  html += '<input type=\"number\" id=\"windoweduAnswer\" class=\"windowedu-input\">';\n  html += '<button onclick=\"windowEduCheckAnswer()\" class=\"windowedu-submit\">Submit<\/button>';\n  html += '<\/div><\/div>';\n  html += '<button onclick=\"windowEduEndGame()\" class=\"windowedu-button\" style=\"background-color: #9e9e9e;\">End Game<\/button>';\n  \n  contentElement.innerHTML = html;\n  \n  \/\/ Focus on the input\n  setTimeout(function() {\n    var inputElement = document.getElementById('windoweduAnswer');\n    if (inputElement) {\n      inputElement.focus();\n      \n      \/\/ Add enter key handler\n      inputElement.onkeydown = function(e) {\n        if (e.key === 'Enter') {\n          windowEduCheckAnswer();\n        }\n      };\n    }\n  }, 100);\n}\n\n\/\/ Check the user's answer\nfunction windowEduCheckAnswer() {\n  var inputElement = document.getElementById('windoweduAnswer');\n  if (!inputElement) return;\n  \n  var userAnswer = parseInt(inputElement.value, 10);\n  if (isNaN(userAnswer)) return;\n  \n  var isCorrect = userAnswer === windowEduCurrentQuestion.answer;\n  var pointsEarned = isCorrect ? 1 : -0.5;\n  \n  windowEduScore = Math.max(0, windowEduScore + pointsEarned);\n  windowEduQuestionCount++;\n  \n  windowEduUpdateScore();\n  \n  if (isCorrect) {\n    windowEduShowCorrectFeedback();\n  } else {\n    windowEduShowIncorrectFeedback();\n  }\n  \n  \/\/ Check if game is completed\n  if (windowEduScore >= 10) {\n    setTimeout(function() {\n      windowEduGameState = 'completed';\n      windowEduStopTimer();\n      windowEduShowGameOver(true);\n    }, 1500);\n  }\n}\n\n\/\/ Show correct feedback\nfunction windowEduShowCorrectFeedback() {\n  var contentElement = document.getElementById('windoweduContent');\n  var monkeyElement = document.getElementById('windoweduMonkey');\n  \n  \/\/ Show monkey animation\n  var animations = [\"\ud83d\udc35\ud83d\udc4d\", \"\ud83d\ude48\ud83d\udc35\ud83d\ude48\ud83d\udc35\", \"\ud83d\udc4f\ud83d\udc35\ud83d\udc4f\", \"\ud83c\udf89\ud83d\udc35\ud83c\udf89\"];\n  monkeyElement.innerHTML = animations[Math.floor(Math.random() * animations.length)];\n  \n  \/\/ Get current content and add feedback\n  var currentContent = contentElement.innerHTML;\n  var feedbackHtml = '<div class=\"windowedu-feedback correct\">';\n  feedbackHtml += '\u0d36\u0d30\u0d3f! \u0d35\u0d33\u0d30\u0d46 \u0d28\u0d28\u0d4d\u0d28\u0d3e\u0d2f\u0d3f! \ud83d\ude0a Only ' + Math.max(0, 10 - windowEduScore) + ' points to win!';\n  feedbackHtml += '<\/div>';\n  \n  contentElement.innerHTML = currentContent + feedbackHtml;\n  \n  \/\/ Continue with next question after delay\n  setTimeout(function() {\n    if (!windowEduShowingExplanation) {\n      windowEduGenerateQuestion();\n      windowEduShowQuestion();\n      windowEduShowEncouragement();\n    }\n  }, 1500);\n}\n\n\/\/ Show incorrect feedback\nfunction windowEduShowIncorrectFeedback() {\n  var contentElement = document.getElementById('windoweduContent');\n  var monkeyElement = document.getElementById('windoweduMonkey');\n  \n  \/\/ Show monkey animation\n  var animations = [\"\ud83d\ude48\", \"\ud83d\udc35\u2753\", \"\ud83e\udd14\ud83d\udc35\", \"\ud83d\ude31\ud83d\udc35\"];\n  monkeyElement.innerHTML = animations[Math.floor(Math.random() * animations.length)];\n  \n  \/\/ Add funny message\n  var messages = [\n    \"Oops! That slipped through your math superpowers! \ud83e\uddb8\u200d\u2642\ufe0f\u274c\",\n    \"Almost had it! Math is playing hide and seek with you! \ud83d\ude48\ud83d\udd22\",\n    \"Math sneaked a tricky one past you! You'll catch it next time! \ud83d\udd75\ufe0f\u200d\u2642\ufe0f\ud83e\uddee\",\n    \"Whoopsie daisy! That number tried to fool you! \ud83c\udccf\ud83e\udd2a\"\n  ];\n  \n  var message = messages[Math.floor(Math.random() * messages.length)];\n  \n  \/\/ Get current content and add feedback\n  var currentContent = contentElement.innerHTML;\n  var feedbackHtml = '<div class=\"windowedu-feedback incorrect\">' + message + '<\/div>';\n  \n  contentElement.innerHTML = currentContent + feedbackHtml;\n  \n  \/\/ Show explanation after a delay\n  setTimeout(function() {\n    windowEduShowExplanation();\n  }, 1500);\n}\n\n\/\/ Show explanation\nfunction windowEduShowExplanation() {\n  windowEduShowingExplanation = true;\n  \n  var contentElement = document.getElementById('windoweduContent');\n  \n  var explanation = \"\";\n  if (windowEduCurrentQuestion.operation === '+') {\n    explanation = '\u0d2a\u0d42\u0d7c\u0d23\u0d4d\u0d23\u0d38\u0d02\u0d16\u0d4d\u0d2f\u0d15\u0d7e \u0d15\u0d42\u0d1f\u0d4d\u0d1f\u0d41\u0d2e\u0d4d\u0d2a\u0d4b\u0d7e: ' + windowEduCurrentQuestion.num1 + ' + ' + windowEduCurrentQuestion.num2 + ' = ' + windowEduCurrentQuestion.answer + '. \u0d13\u0d7c\u0d15\u0d4d\u0d15\u0d41\u0d15, \u0d12\u0d30\u0d47 \u0d1a\u0d3f\u0d39\u0d4d\u0d28\u0d2e\u0d41\u0d33\u0d4d\u0d33 \u0d38\u0d02\u0d16\u0d4d\u0d2f\u0d15\u0d7e \u0d15\u0d42\u0d1f\u0d4d\u0d1f\u0d41\u0d2e\u0d4d\u0d2a\u0d4b\u0d7e, \u0d05\u0d35\u0d2f\u0d41\u0d1f\u0d46 \u0d2e\u0d42\u0d32\u0d4d\u0d2f\u0d19\u0d4d\u0d19\u0d7e \u0d15\u0d42\u0d1f\u0d4d\u0d1f\u0d3f \u0d1a\u0d3f\u0d39\u0d4d\u0d28\u0d02 \u0d28\u0d3f\u0d32\u0d28\u0d3f\u0d7c\u0d24\u0d4d\u0d24\u0d41\u0d15.';\n  } else {\n    explanation = '\u0d2a\u0d42\u0d7c\u0d23\u0d4d\u0d23\u0d38\u0d02\u0d16\u0d4d\u0d2f\u0d15\u0d7e \u0d15\u0d41\u0d31\u0d2f\u0d4d\u0d15\u0d4d\u0d15\u0d41\u0d2e\u0d4d\u0d2a\u0d4b\u0d7e: ' + windowEduCurrentQuestion.num1 + ' - ' + windowEduCurrentQuestion.num2 + ' = ' + windowEduCurrentQuestion.answer + '.';\n  }\n  \n  var html = '<div class=\"windowedu-question\">';\n  html += '<h3>Explanation<\/h3>';\n  html += '<div class=\"windowedu-explanation\">\u0d24\u0d46\u0d31\u0d4d\u0d31\u0d3e\u0d23\u0d4d. ' + explanation + '<\/div>';\n  html += '<button onclick=\"windowEduContinueAfterExplanation()\" class=\"windowedu-button\">OK, I Understand<\/button>';\n  html += '<\/div>';\n  \n  contentElement.innerHTML = html;\n}\n\n\/\/ Continue after explanation\nfunction windowEduContinueAfterExplanation() {\n  windowEduShowingExplanation = false;\n  windowEduGenerateQuestion();\n  windowEduShowQuestion();\n  windowEduShowEncouragement();\n}\n\n\/\/ Show encouragement\nfunction windowEduShowEncouragement() {\n  var monkeyElement = document.getElementById('windoweduMonkey');\n  \n  \/\/ Update monkey based on score\n  if (windowEduScore < 5) {\n    monkeyElement.innerHTML = \"\ud83d\udc12\";\n  } else if (windowEduScore < 8) {\n    monkeyElement.innerHTML = \"\ud83d\udc35\ud83d\udc40\";\n  } else {\n    monkeyElement.innerHTML = \"\ud83d\udc35\ud83d\udd25\";\n  }\n  \n  \/\/ Get encouragement message\n  var messages;\n  if (windowEduScore < 4) {\n    messages = [\n      \"Let's go! You got this! \ud83d\udcaf\ud83d\ude80\ud83e\udd18\",\n      \"You're on your way to 10! \u2728\ud83c\udf08\ud83d\udcab\",\n      \"Math mode: ON! Keep it up! \ud83e\uddee\ud83e\udd13\u2705\"\n    ];\n  } else if (windowEduScore < 7) {\n    messages = [\n      \"Halfway there! It's giving winner energy! \u270c\ufe0f\ud83d\ude04\ud83c\udfc6\",\n      \"Level up! You're crushing these numbers! \ud83c\udfae\ud83d\udcc8\ud83e\udd2f\"\n    ];\n  } else {\n    messages = [\n      \"10 points is just around the corner! \ud83e\udd29\ud83c\udfc1\ud83c\udfaf\",\n      \"Boss level about to be completed! Final stretch! \ud83c\udfae\ud83d\udc7e\ud83d\ude80\"\n    ];\n  }\n  \n  var message = messages[Math.floor(Math.random() * messages.length)] + \" Only \" + (10 - windowEduScore).toFixed(1) + \" points to win!\";\n  \n  \/\/ Add encouragement to the page\n  var contentElement = document.getElementById('windoweduContent');\n  var currentContent = contentElement.innerHTML;\n  \n  var encouragementHtml = '<div class=\"windowedu-feedback\" style=\"background-color: #e3f2fd; color: #1565c0;\">';\n  encouragementHtml += message;\n  encouragementHtml += '<\/div>';\n  \n  contentElement.innerHTML = currentContent + encouragementHtml;\n}\n\n\/\/ Show game over screen\nfunction windowEduShowGameOver(completed) {\n  var contentElement = document.getElementById('windoweduContent');\n  var monkeyElement = document.getElementById('windoweduMonkey');\n  \n  if (completed) {\n    monkeyElement.innerHTML = \"\ud83c\udf8a\ud83d\udc35\ud83c\udfc6\ud83d\udc35\ud83c\udf8a\";\n  }\n  \n  var accuracyPercent = windowEduQuestionCount === 0 ? 0 : (windowEduScore \/ windowEduQuestionCount) * 100;\n  \n  var html = '<div class=\"windowedu-question\">';\n  html += '<h2>' + (completed ? 'Congratulations! You passed!' : 'Game Over') + '<\/h2>';\n  html += '<p>Final Score: ' + windowEduScore.toFixed(1) + '\/10<\/p>';\n  html += '<p>Time: ' + windowEduFormatTime(windowEduTimer) + '<\/p>';\n  html += '<p>Accuracy: ' + accuracyPercent.toFixed(1) + '%<\/p>';\n  html += '<p><strong>' + windowEduGetFinalFeedback(accuracyPercent) + '<\/strong><\/p>';\n  \n  if (accuracyPercent < 80) {\n    html += '<div style=\"background-color: #fff9c4; color: #ff6f00; padding: 12px; border-radius: 8px; margin: 10px 0;\">';\n    html += '\u0d28\u0d3f\u0d19\u0d4d\u0d19\u0d33\u0d41\u0d1f\u0d46 \u0d38\u0d4d\u0d15\u0d4b\u0d7c 80% \u0d7d \u0d24\u0d3e\u0d34\u0d46\u0d2f\u0d3e\u0d23\u0d4d. \u0d2a\u0d42\u0d7c\u0d23\u0d38\u0d02\u0d16\u0d4d\u0d2f\u0d15\u0d33\u0d41\u0d1f\u0d46 \u0d38\u0d19\u0d4d\u0d15\u0d32\u0d28\u0d35\u0d41\u0d02 \u0d35\u0d4d\u0d2f\u0d35\u0d15\u0d32\u0d28\u0d35\u0d41\u0d02 \u0d35\u0d40\u0d23\u0d4d\u0d1f\u0d41\u0d02 \u0d2a\u0d30\u0d3f\u0d36\u0d40\u0d32\u0d3f\u0d15\u0d4d\u0d15\u0d3e\u0d7b \u0d1e\u0d19\u0d4d\u0d19\u0d7e \u0d36\u0d41\u0d2a\u0d3e\u0d7c\u0d36 \u0d1a\u0d46\u0d2f\u0d4d\u0d2f\u0d41\u0d28\u0d4d\u0d28\u0d41!';\n    html += '<\/div>';\n  }\n  \n  html += '<button onclick=\"windowEduStartPlaying()\" class=\"windowedu-button\">Play Again<\/button>';\n  html += '<a href=\"http:\/\/windowedu.in\/blog\/?p=1513\" target=\"_blank\" class=\"windowedu-button\" style=\"background-color: #4caf50; text-decoration: none;\">More Games<\/a>';\n  html += '<\/div>';\n  \n  contentElement.innerHTML = html;\n}\n\n\/\/ End the game early\nfunction windowEduEndGame() {\n  windowEduGameState = 'ended';\n  windowEduStopTimer();\n  windowEduShowGameOver(false);\n}\n\n\/\/ Timer functions\nfunction windowEduStartTimer() {\n  windowEduStopTimer();\n  windowEduTimer = 0;\n  windowEduUpdateTimer();\n  \n  windowEduTimerInterval = setInterval(function() {\n    windowEduTimer++;\n    windowEduUpdateTimer();\n  }, 1000);\n}\n\nfunction windowEduStopTimer() {\n  clearInterval(windowEduTimerInterval);\n}\n\nfunction windowEduUpdateTimer() {\n  var timerElement = document.getElementById('windoweduTime');\n  if (timerElement) {\n    timerElement.textContent = windowEduFormatTime(windowEduTimer);\n  }\n}\n\nfunction windowEduFormatTime(seconds) {\n  var mins = Math.floor(seconds \/ 60);\n  var secs = seconds % 60;\n  return (mins < 10 ? '0' : '') + mins + ':' + (secs < 10 ? '0' : '') + secs;\n}\n\n\/\/ Update score display\nfunction windowEduUpdateScore() {\n  var scoreElement = document.getElementById('windoweduScore');\n  if (scoreElement) {\n    scoreElement.textContent = 'Score: ' + windowEduScore.toFixed(1) + '\/10';\n  }\n}\n\n\/\/ Toggle background music\nfunction windowEduToggleMusic() {\n  if (windowEduMusicPlaying) {\n    windowEduStopMusic();\n  } else {\n    windowEduPlayMusic();\n  }\n}\n\nfunction windowEduPlayMusic() {\n  var audioElement = document.getElementById('windoweduMusic');\n  if (audioElement) {\n    audioElement.play().catch(function(e) {\n      console.log('Failed to play audio:', e);\n    });\n    windowEduMusicPlaying = true;\n    var soundElement = document.getElementById('windoweduSound');\n    if (soundElement) {\n      soundElement.textContent = '\ud83d\udd0a';\n    }\n  }\n}\n\nfunction windowEduStopMusic() {\n  var audioElement = document.getElementById('windoweduMusic');\n  if (audioElement) {\n    audioElement.pause();\n    windowEduMusicPlaying = false;\n    var soundElement = document.getElementById('windoweduSound');\n    if (soundElement) {\n      soundElement.textContent = '\ud83d\udd07';\n    }\n  }\n}\n\n\/\/ Get final feedback based on accuracy\nfunction windowEduGetFinalFeedback(percentage) {\n  if (percentage >= 90) {\n    return '\u0d35\u0d33\u0d30\u0d46 \u0d28\u0d32\u0d4d\u0d32\u0d24\u0d4d! \u0d28\u0d3f\u0d19\u0d4d\u0d19\u0d7e \u0d2a\u0d42\u0d7c\u0d23\u0d38\u0d02\u0d16\u0d4d\u0d2f\u0d15\u0d33\u0d41\u0d1f\u0d46 \u0d38\u0d19\u0d4d\u0d15\u0d32\u0d28\u0d35\u0d41\u0d02 \u0d35\u0d4d\u0d2f\u0d35\u0d15\u0d32\u0d28\u0d35\u0d41\u0d02 \u0d2e\u0d3e\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d7c \u0d1a\u0d46\u0d2f\u0d4d\u0d24\u0d3f\u0d30\u0d3f\u0d15\u0d4d\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d41!';\n  } else if (percentage >= 80) {\n    return '\u0d28\u0d32\u0d4d\u0d32 \u0d2a\u0d4d\u0d30\u0d15\u0d1f\u0d28\u0d02! \u0d28\u0d3f\u0d19\u0d4d\u0d19\u0d7e\u0d15\u0d4d\u0d15\u0d4d \u0d2a\u0d42\u0d7c\u0d23\u0d38\u0d02\u0d16\u0d4d\u0d2f\u0d15\u0d33\u0d46\u0d15\u0d4d\u0d15\u0d41\u0d31\u0d3f\u0d1a\u0d4d\u0d1a\u0d4d \u0d28\u0d32\u0d4d\u0d32 \u0d27\u0d3e\u0d30\u0d23\u0d2f\u0d41\u0d23\u0d4d\u0d1f\u0d4d.';\n  } else {\n    return '\u0d2a\u0d42\u0d7c\u0d23\u0d38\u0d02\u0d16\u0d4d\u0d2f\u0d15\u0d33\u0d41\u0d1f\u0d46 \u0d38\u0d19\u0d4d\u0d15\u0d32\u0d28\u0d35\u0d41\u0d02 \u0d35\u0d4d\u0d2f\u0d35\u0d15\u0d32\u0d28\u0d35\u0d41\u0d02 \u0d15\u0d42\u0d1f\u0d41\u0d24\u0d7d \u0d2a\u0d30\u0d3f\u0d36\u0d40\u0d32\u0d3f\u0d15\u0d4d\u0d15\u0d3e\u0d7b \u0d36\u0d4d\u0d30\u0d2e\u0d3f\u0d15\u0d4d\u0d15\u0d41\u0d15. \u0d2a\u0d30\u0d3f\u0d36\u0d40\u0d32\u0d28\u0d24\u0d4d\u0d24\u0d3f\u0d32\u0d42\u0d1f\u0d46 \u0d2e\u0d3f\u0d15\u0d35\u0d4d \u0d28\u0d47\u0d1f\u0d3e\u0d02!';\n  }\n}\n\n\/\/ Get random integer between min and max (inclusive)\nfunction windowEduGetRandomInt(min, max) {\n  return Math.floor(Math.random() * (max - min + 1)) + min;\n}\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>\ud83d\udd07 00:00 Score: 0.0\/10 \ud83d\udc12 \u0d2a\u0d42\u0d7c\u0d23\u0d38\u0d02\u0d16\u0d4d\u0d2f\u0d15\u0d33\u0d41\u0d1f\u0d46 \u0d15\u0d42\u0d1f\u0d4d\u0d1f\u0d32\u0d41\u0d02 \u0d15\u0d3f\u0d34\u0d3f\u0d15\u0d4d\u0d15\u0d32\u0d41\u0d02 \u0d05\u0d21\u0d3f\u0d37\u0d7b \u0d06\u0d7b\u0d21\u0d4d \u0d38\u0d2c\u0d4d\u0d1f\u0d4d\u0d30\u0d3e\u0d15\u0d4d\u0d37\u0d7b \u0d13\u0d2b\u0d4d \u0d07\u0d28\u0d4d\u0d31\u0d3f\u0d1c\u0d47\u0d34\u0d4d\u0d38\u0d4d \ud83e\uddee \ud83d\udc35 \ud83d\udd22 Start Quiz<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"content-type":"","om_disable_all_campaigns":false,"_uag_custom_page_level_css":"","ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"","ocean_second_sidebar":"","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"","ocean_custom_header_template":"","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"","ocean_menu_typo_font_family":"","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"","ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"on","ocean_gallery_id":[],"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1538","post","type-post","status-publish","format-standard","hentry","category-uncategorized","entry"],"aioseo_notices":[],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"ocean-thumb-m":false,"ocean-thumb-ml":false,"ocean-thumb-l":false},"uagb_author_info":{"display_name":"raghumadambath","author_link":"https:\/\/windowedu.in\/blog\/?author=1"},"uagb_comment_info":4,"uagb_excerpt":"\ud83d\udd07 00:00 Score: 0.0\/10 \ud83d\udc12 \u0d2a\u0d42\u0d7c\u0d23\u0d38\u0d02\u0d16\u0d4d\u0d2f\u0d15\u0d33\u0d41\u0d1f\u0d46 \u0d15\u0d42\u0d1f\u0d4d\u0d1f\u0d32\u0d41\u0d02 \u0d15\u0d3f\u0d34\u0d3f\u0d15\u0d4d\u0d15\u0d32\u0d41\u0d02 \u0d05\u0d21\u0d3f\u0d37\u0d7b \u0d06\u0d7b\u0d21\u0d4d \u0d38\u0d2c\u0d4d\u0d1f\u0d4d\u0d30\u0d3e\u0d15\u0d4d\u0d37\u0d7b \u0d13\u0d2b\u0d4d \u0d07\u0d28\u0d4d\u0d31\u0d3f\u0d1c\u0d47\u0d34\u0d4d\u0d38\u0d4d \ud83e\uddee \ud83d\udc35 \ud83d\udd22 Start Quiz","_links":{"self":[{"href":"https:\/\/windowedu.in\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1538","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/windowedu.in\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/windowedu.in\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/windowedu.in\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/windowedu.in\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1538"}],"version-history":[{"count":3,"href":"https:\/\/windowedu.in\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1538\/revisions"}],"predecessor-version":[{"id":1542,"href":"https:\/\/windowedu.in\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1538\/revisions\/1542"}],"wp:attachment":[{"href":"https:\/\/windowedu.in\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1538"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/windowedu.in\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1538"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/windowedu.in\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1538"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}