Bug 563

Summary: The program will remove the invalid start move piece
Product: Chinese Checker Reporter: yutongmen2-c
Component: Algorithm ComponentAssignee: yutongmen2-c
Status: CONFIRMED ---    
Severity: normal CC: yutongmen2-c
Priority: ---    
Version: unspecified   
Hardware: All   
OS: All   
Attachments: The image shows a piece disappeared after an invalid input

Description yutongmen2-c 2021-11-14 19:44:01 HKT
Created attachment 80 [details]
The image shows a piece disappeared after an invalid input

The program still removes the start move piece if it is invalid which results in the wrong total pieces number.

Steps to reproduce:
1. Start the game.
2. Select a piece that is invalid.

Actual outcome:
1. The program prints "Not valid start move, please input again."
2. The selected piece is removed by the program.

Expected outcome:
1. The program prints "Not valid start move, please input again."
2. The selected piece is not influenced and the program asks for another valid input.