
エントリーの編集

エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
hit and blowというゲームをjavascriptで作ってみた - Qiita
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています

- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
hit and blowというゲームをjavascriptで作ってみた - Qiita
const input = document.querySelector('.js-input'); const submit = document.querySelector('.js-sub... const input = document.querySelector('.js-input'); const submit = document.querySelector('.js-submit'); const submitClear = document.querySelector('.js-submit-clear'); const result = document.querySelector('.js-result'); const resultHit = document.querySelector('.js-result-hit'); const resultBlow = document.querySelector('.js-result-blow'); let flag = false; // 一回判定済みかどうかのフラグ const answer = "aabb"