{"id":10,"date":"2026-06-10T11:59:28","date_gmt":"2026-06-10T11:59:28","guid":{"rendered":"https:\/\/game.moo-bow.com\/?page_id=10"},"modified":"2026-07-09T14:52:13","modified_gmt":"2026-07-09T14:52:13","slug":"%e3%81%93%e3%81%a8%e3%81%b0%e3%82%bf%e3%82%a4%e3%83%94%e3%83%b3%e3%82%b0","status":"publish","type":"page","link":"https:\/\/game.moo-bow.com\/?page_id=10","title":{"rendered":"\u3053\u3068\u3070\u30bf\u30a4\u30d4\u30f3\u30b0"},"content":{"rendered":"<div class=\"tg-wrap\" id=\"tg-wrap\">\n<style>\n.tg-wrap{max-width:560px;margin:1.5em auto;padding:24px;background:#fff;border:1px solid #ddd;border-radius:8px;font-family:inherit;text-align:center;box-sizing:border-box;}\n.tg-wrap *{box-sizing:border-box;}\n.tg-status{display:flex;justify-content:space-between;font-size:14px;color:#555;margin-bottom:16px;}\n.tg-status strong{color:#c0392b;}\n.tg-word{font-size:28px;font-weight:bold;margin:8px 0;min-height:1.4em;color:#222;}\n.tg-roma{font-size:22px;letter-spacing:2px;margin:4px 0 16px;min-height:1.4em;font-family:monospace;color:#999;}\n.tg-roma .tg-done{color:#c0392b;font-weight:bold;}\n.tg-roma .tg-now{text-decoration:underline;color:#222;}\n.tg-btn{display:inline-block;padding:10px 32px;font-size:16px;background:#c0392b;color:#fff !important;border:none;border-radius:4px;cursor:pointer;text-decoration:none;}\n.tg-btn:hover{opacity:.85;}\n.tg-msg{font-size:14px;color:#777;margin-top:12px;}\n.tg-result{font-size:18px;line-height:1.8;margin:12px 0;color:#222;}\n.tg-input{position:absolute;opacity:0;width:1px;height:1px;border:none;padding:0;}\n.tg-miss-flash{animation:tgflash .15s;}\n@keyframes tgflash{0%{background:#fdecea;}100%{background:#fff;}}\n<\/style>\n<div class=\"tg-status\"><span>\u30b9\u30b3\u30a2: <strong id=\"tg-score\">0<\/strong><\/span><span>\u6b8b\u308a: <strong id=\"tg-time\">30<\/strong>\u79d2<\/span><\/div>\n<div class=\"tg-word\" id=\"tg-word\">\u30bf\u30a4\u30d4\u30f3\u30b0\u30b2\u30fc\u30e0<\/div>\n<div class=\"tg-roma\" id=\"tg-roma\">30\u79d2\u3067\u4f55\u554f\u6253\u3066\u308b?<\/div>\n<button class=\"tg-btn\" id=\"tg-start\" type=\"button\">\u30b9\u30bf\u30fc\u30c8<\/button>\n<div class=\"tg-result\" id=\"tg-result\" style=\"display:none;\"><\/div>\n<div class=\"tg-msg\" id=\"tg-msg\">\u203b \u534a\u89d2\u82f1\u5b57\uff08\u30ed\u30fc\u30de\u5b57\uff09\u3067\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044<\/div>\n<input class=\"tg-input\" id=\"tg-input\" type=\"text\" autocomplete=\"off\" autocapitalize=\"off\" autocorrect=\"off\" spellcheck=\"false\" aria-hidden=\"true\" tabindex=\"-1\">\n<\/div>\n<script>\n(function(){\n  var words = [\n    [\"\u3059\u3057\",\"sushi\"],[\"\u306d\u3053\",\"neko\"],[\"\u3055\u304f\u3089\",\"sakura\"],[\"\u304a\u3061\u3083\",\"ocha\"],\n    [\"\u304a\u3093\u305b\u3093\",\"onsen\"],[\"\u307e\u3064\u308a\",\"matsuri\"],[\"\u305f\u3053\u3084\u304d\",\"takoyaki\"],\n    [\"\u3053\u305f\u3064\",\"kotatsu\"],[\"\u306f\u306a\u3073\",\"hanabi\"],[\"\u304b\u307f\u306a\u308a\",\"kaminari\"],\n    [\"\u3067\u3093\u3057\u3083\",\"densha\"],[\"\u3084\u304d\u3068\u308a\",\"yakitori\"],[\"\u304a\u306b\u304e\u308a\",\"onigiri\"],\n    [\"\u3059\u3044\u304b\",\"suika\"],[\"\u307b\u305f\u308b\",\"hotaru\"],[\"\u304e\u3093\u3053\u3046\",\"ginkou\"],\n    [\"\u304b\u3089\u3042\u3052\",\"karaage\"],[\"\u3057\u3093\u304b\u3093\u305b\u3093\",\"shinkansen\"],\n    [\"\u3086\u304d\u3060\u308b\u307e\",\"yukidaruma\"],[\"\u304b\u3076\u3068\u3080\u3057\",\"kabutomushi\"]\n  ];\n  var wrap=document.getElementById(\"tg-wrap\"),\n      elWord=document.getElementById(\"tg-word\"),\n      elRoma=document.getElementById(\"tg-roma\"),\n      elScore=document.getElementById(\"tg-score\"),\n      elTime=document.getElementById(\"tg-time\"),\n      elStart=document.getElementById(\"tg-start\"),\n      elResult=document.getElementById(\"tg-result\"),\n      elMsg=document.getElementById(\"tg-msg\"),\n      elInput=document.getElementById(\"tg-input\");\n  var playing=false, score=0, miss=0, typed=0, timeLeft=30, timer=null;\n  var cur=null, pos=0, lastIdx=-1;\n\n  function pickWord(){\n    var i;\n    do { i = Math.floor(Math.random()*words.length); } while (i===lastIdx && words.length>1);\n    lastIdx=i; cur=words[i]; pos=0;\n    elWord.textContent=cur[0];\n    renderRoma();\n  }\n  function renderRoma(){\n    var html=\"\";\n    for(var i=0;i<cur[1].length;i++){\n      var c=cur[1].charAt(i);\n      if(i<pos) html+='<span class=\"tg-done\">'+c+'<\/span>';\n      else if(i===pos) html+='<span class=\"tg-now\">'+c+'<\/span>';\n      else html+='<span>'+c+'<\/span>';\n    }\n    elRoma.innerHTML=html;\n  }\n  function start(){\n    playing=true; score=0; miss=0; typed=0; timeLeft=30;\n    elScore.textContent=\"0\"; elTime.textContent=\"30\";\n    elStart.style.display=\"none\"; elResult.style.display=\"none\";\n    elMsg.textContent=\"\u203b \u534a\u89d2\u82f1\u5b57\uff08\u30ed\u30fc\u30de\u5b57\uff09\u3067\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\";\n    pickWord();\n    elInput.value=\"\"; elInput.focus();\n    timer=setInterval(function(){\n      timeLeft--;\n      elTime.textContent=timeLeft;\n      if(timeLeft<=0) finish();\n    },1000);\n  }\n  function finish(){\n    playing=false;\n    clearInterval(timer);\n    var acc = typed>0 ? Math.round(typed\/(typed+miss)*100) : 0;\n    elWord.textContent=\"\u304a\u308f\u308a!\";\n    elRoma.textContent=\"\";\n    elResult.innerHTML=\"\u30af\u30ea\u30a2: <strong>\"+score+\"\u554f<\/strong> \uff0f \u30df\u30b9: \"+miss+\"\u56de<br>\u6b63\u78ba\u7387: \"+acc+\"%\";\n    elResult.style.display=\"block\";\n    elStart.textContent=\"\u3082\u3046\u4e00\u56de\";\n    elStart.style.display=\"inline-block\";\n    elInput.blur();\n  }\n  function handleChar(ch){\n    if(!playing||!ch) return;\n    ch=ch.toLowerCase();\n    if(ch===cur[1].charAt(pos)){\n      pos++; typed++;\n      if(pos>=cur[1].length){\n        score++;\n        elScore.textContent=score;\n        pickWord();\n      } else {\n        renderRoma();\n      }\n    } else {\n      miss++;\n      wrap.classList.remove(\"tg-miss-flash\");\n      void wrap.offsetWidth;\n      wrap.classList.add(\"tg-miss-flash\");\n    }\n  }\n  elInput.addEventListener(\"input\",function(e){\n    var v=elInput.value;\n    if(v){ handleChar(v.charAt(v.length-1)); }\n    elInput.value=\"\";\n  });\n  elStart.addEventListener(\"click\",start);\n  wrap.addEventListener(\"click\",function(){\n    if(playing) elInput.focus();\n  });\n})();\n<\/script>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-10","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/game.moo-bow.com\/index.php?rest_route=\/wp\/v2\/pages\/10","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/game.moo-bow.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/game.moo-bow.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/game.moo-bow.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/game.moo-bow.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10"}],"version-history":[{"count":2,"href":"https:\/\/game.moo-bow.com\/index.php?rest_route=\/wp\/v2\/pages\/10\/revisions"}],"predecessor-version":[{"id":12,"href":"https:\/\/game.moo-bow.com\/index.php?rest_route=\/wp\/v2\/pages\/10\/revisions\/12"}],"wp:attachment":[{"href":"https:\/\/game.moo-bow.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}