Skip to content

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

@AleksaMCode

Description

@AleksaMCode

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions