7xGit / 7xGit/7xGit_Task5

Input Validation for Turtles

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

説明

The game does not validate the number of turtles that players can enter. If a user inputs a non-integer value or exceeds the maximum allowed number of turtles, it can lead to runtime errors or unexpected behavior.

Impact:

Runtime Errors: Invalid input types (like strings or special characters) can cause the program to crash or behave unpredictably, disrupting the gaming experience.
Unexpected Behavior: If the number exceeds the maximum limit, the game may attempt to create more turtles than allowed, leading to potential performance issues or logical inconsistencies.
User Frustration: Players may feel confused or frustrated when their input is not accepted or leads to errors, diminishing their enjoyment of the game.

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

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

調査の方向性

カメの数に関するユーザー入力を処理する関数またはモジュールを探してください。入力が整数であり、許可されている最大値の範囲内であることを確認するバリデーションを追加してください。整数以外の入力と範囲外の数値の両方でバリデーションが機能することを確認するテストを書いてください。

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

評価

領域
cli
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
65/100

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

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