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]
Updated for loop statement in function validatePosition to solve the bug.