7xGit / 7xGit/7xGit_Task3

Input Not Validated for Non-Numeric Values

Ouverte
#4 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
enhancement good first issue
Langage dominant
C++
Étoiles
1
Forks
4
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Title:
Crash on Non-Numeric Input

Description:
When a player enters non-numeric input for the row or column, the game crashes. The program does not handle invalid input types (like letters or symbols), causing it to terminate unexpectedly.

Steps to Reproduce:

Start the game.
Enter a letter or symbol instead of a number when prompted for the row or column.
The game crashes.
Expected Behavior:
The game should prompt the player to enter a valid numeric value instead of crashing.

Suggested Fix:
Use input validation to ensure only integers are accepted for the row and column inputs.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.