| Summary: | Cannot play a wild card | ||
|---|---|---|---|
| Product: | .CS3343 Group2 2324A Uno Game | Reporter: | pybehardi2-c |
| Component: | Cmd | Assignee: | tinloklee2-c |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | ||
| Priority: | --- | ||
| Version: | unspecified | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Attachments: | User played the wild card which should be playable, but the system marks it as unplayable | ||
This bug cannot be reproduced on my PC. Can you provide more details? This bug has been resolved. It was caused by an incorrect implementation of the colour validation method. Thank you for reporting. |
Created attachment 168 [details] User played the wild card which should be playable, but the system marks it as unplayable In the current player's hand, there is a wild card, and every time the player tries to play the wild card, the system thinks that the card is unplayable even though a wild card WILL ALWAYS BE PLAYABLE Steps to reproduce: 1. Run the main function 2. Play the game until it is the user's turn, and until the user has a WILD_CARD in its deck 3. Write a play command and the WILD_CARD number to select the wild card as the card to be played Expected result: the system sees that the card being played is a WILD_CARD and will mark the card as playable Actual result: the system marks the played card as unplayable and asks the user to input another command