Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Player Name Prompt Error Handling #6

Open
nathanroses opened this issue Sep 6, 2021 · 0 comments
Open

Player Name Prompt Error Handling #6

nathanroses opened this issue Sep 6, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@nathanroses
Copy link
Owner

if the prompt name is left blank or cancelled, a new prompt should re request the player name.

CURRENT BEHAVIOR

  • If prompt for player name is left blank, thhe answer is stored as player name
  • If the prompt for player name is cancelled, null is stored as player's name

POSSIBLE SOLUTIONS
-Create function getPlayerName() function that will loop valid response till return

@nathanroses nathanroses added the bug Something isn't working label Sep 6, 2021
@nathanroses nathanroses self-assigned this Sep 6, 2021
@nathanroses nathanroses changed the title Player Name Prompt Error Handling #1 Player Name Prompt Error Handling Sep 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant