| Summary: | Cannot play any cards as user since play command doesn't work | ||
|---|---|---|---|
| Product: | .CS3343 Group2 2324A Uno Game | Reporter: | pybehardi2-c |
| Component: | Cmd | Assignee: | tinloklee2-c |
| Status: | RESOLVED FIXED | ||
| Severity: | blocker | ||
| Priority: | Highest | ||
| Version: | unspecified | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Attachments: | The user input "play 3" which should be a valid input, but instead system outputs "incorrect command" | ||
This bug was caused by a validation issue. It is fixed now. |
Created attachment 154 [details] The user input "play 3" which should be a valid input, but instead system outputs "incorrect command" The user cannot play any card. Each time the user writes a command to play a card, the system thinks it is an incorrect command and prompts the user to input again. Users can still write a command to draw a card. Steps to reproduce: 1. Run the main function 2. Play the game until it is the user's turn 3. Write a play command to the console, such as "play 1" Expected result: the system accepts the input, and decides if the card that the player wants to play is compatible with the current card Actual result: the system accepts the input, and outputs "incorrect command"