| Summary: | Cannot perform move command for human player | ||
|---|---|---|---|
| Product: | Group 9 | Reporter: | choy kai chuen <kaichoy5-c> |
| Component: | HumanPlayer | Assignee: | cklo36-c |
| Status: | RESOLVED FIXED | ||
| Severity: | critical | ||
| Priority: | High | ||
| Version: | 1 | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Deadline: | 2022-11-20 | ||
| Attachments: | HumanPlayer class | ||
Confirmed & fixed. commit 7cb556a3388bca2079d333d1c91aab5fe59a2e6a remove deprecated the use of KeyboardIn class but didn't assign value the instance field `private Scanner kb` |
Created attachment 125 [details] HumanPlayer class The Scanner in human player is not set, so when the player perform move command, there will be a null pointer exception