Bug 721

Summary: Cannot perform move command for human player
Product: Group 9 Reporter: choy kai chuen <kaichoy5-c>
Component: HumanPlayerAssignee: cklo36-c
Status: RESOLVED FIXED    
Severity: critical    
Priority: High    
Version: 1   
Hardware: PC   
OS: Windows   
Deadline: 2022-11-20   
Attachments: HumanPlayer class

Description choy kai chuen 2022-11-20 16:36:36 HKT
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
Comment 1 cklo36-c 2022-11-20 16:53:54 HKT
Confirmed & fixed.

commit 7cb556a3388bca2079d333d1c91aab5fe59a2e6a remove deprecated the use of KeyboardIn class but didn't assign value the instance field `private Scanner kb`