Bug 795

Summary: Cannot play any cards as user since play command doesn't work
Product: .CS3343 Group2 2324A Uno Game Reporter: pybehardi2-c
Component: CmdAssignee: 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"

Description pybehardi2-c 2023-11-28 21:52:48 HKT
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"
Comment 1 tinloklee2-c 2023-12-07 22:18:14 HKT
This bug was caused by a validation issue. It is fixed now.