Closed mlsdpk closed 3 years ago
Nice work @mlsdpk, it almost worked. Upon testing, I found a bug. So if there are multiple opponent pieces available to be captured, the last valid move's location should only be displayed and allowed to press instead of the in-between locations. Otherwise, the player could press the middle valid location which I think could go against the rule of the game.
Nice work @mlsdpk, it almost worked. Upon testing, I found a bug. So if there are multiple opponent pieces available to be captured, the last valid move's location should only be displayed and allowed to press instead of the in-between locations. Otherwise, the player could press the middle valid location which I think could go against the rule of the game.
Yes, the bug you mentioned is the one I would like to discuss with the team as I found out in some checkers online game they allow users to let them decide whether to capture both pieces or only one. Any ideas for this? @aungmcs @Awthura @aungpaing98
Ok then. That rule is good for me. If @Awthura amd @aungpaing98 are fine with it, we could close that issue.
Looks like it's working smooth. find_valid_moves function is generalized as well. No objections this time.
I've implemented the issue #12 (feature multiple capturing mode). Please review guys. @aungmcs @Awthura @aungpaing98