| Summary: | Possible position generated for horse is not as expected | ||
|---|---|---|---|
| Product: | CS3343 Group 26 XiangQi Game | Reporter: | Tracy Puk <tcpuk2-c> |
| Component: | ChessBoard | Assignee: | likslee2-c |
| Status: | RESOLVED FIXED | ||
| Severity: | major | ||
| Priority: | --- | ||
| Version: | unspecified | ||
| Hardware: | PC | ||
| OS: | All | ||
| Attachments: | Possible position generated for horse is not as expected | ||
Updated for loop statement in function validatePosition to solve the bug. |
Created attachment 142 [details] Possible position generated for horse is not as expected - Steps to reproduce 1. start the game 2. player selects RC to move from h2 to h1 3. RC block RH way - Expected result The possible moves for RH at h0 [] - Actual result The possible moves for RH at h0 [g2]