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

[BUG] Unexpected behavior when entering user's next move #2

Open
AleksaMCode opened this issue Mar 16, 2024 · 0 comments
Open

[BUG] Unexpected behavior when entering user's next move #2

AleksaMCode opened this issue Mar 16, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@AleksaMCode
Copy link
Owner

Description

Due to a bug in parsing of user input, an unexpected behavior happens when user inputs his next move.

Actual Behavior

  • When entering a move 'this is my second move 345' user will put an X on the free square 5.

Expected Behavior

Only user's input containing a number from 1-9 range is expected while everything else should be ignored and user should be prompted to enter his next move again.


input_error

@AleksaMCode AleksaMCode added the bug Something isn't working label Mar 16, 2024
@AleksaMCode AleksaMCode self-assigned this Mar 16, 2024
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