7xGit / 7xGit/7xGit_Task6

Function Calls Missing

オープン 初心者向け
#3 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
good first issue invalid
主要言語
JavaScript
スター
1
フォーク
4
PR マージ指標
30日以内にマージされた PR はありません

説明

Title:
Function Calls for Game Logic are Missing

Description:
The Simon Game's core functionality depends on several functions, but currently, these functions are not called anywhere in the code. As a result, the game doesn't work as intended.

Expected Behavior:
The game should respond to user interactions by checking their inputs, advancing the game, and playing the correct sequences.

Missing Function Calls:

checkAnswer(): This function should be called every time the user clicks a button to validate their input.
startOver(): This function should be called when the user loses the game to reset the game state.
nextSequence(): The next sequence should be generated after a correct answer is given.
Suggested Fix:
Add the appropriate function calls in the game logic at relevant points:

Call checkAnswer() after each button press.
Call nextSequence() when the user correctly completes the current sequence.
Call startOver() when the user makes a mistake.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Look for the game's main JavaScript file, likely named game.js or script.js. Find the definitions of checkAnswer(), startOver(), and nextSequence(). The issue specifies where to call each function: after button clicks, after correct sequences, and on mistakes. Test by running the game and verifying the functions are triggered.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript
領域
game-dev
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
75/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。