diff --git a/jstrr.js b/jstrr.js index 1d2c0ec..8ecbb68 100644 --- a/jstrr.js +++ b/jstrr.js @@ -244,6 +244,14 @@ info.innerText = "まだだよ(BSキーで練習スタート)"; } } else { + if (str.length > 10) { + alert("あら、なにかおかしいわね。"); + alert("これはちょっと..."); + alert("頭を冷やして明日またやりましょう。"); + inp.value = "" + resetState(); + return; + } while (str > "") { if (str[0] == curs.textContent) { if (text.textContent > "") {