Ejemplo n.º 1
0
        public bool IsJump()
        {
            var firstCoord  = (Coord)PublicAPI.pdnBoardCoords(Variant.AmericanCheckers.ToGameVariant().pdnMembers)[Move[0]];
            var secondCoord = (Coord)PublicAPI.pdnBoardCoords(Variant.AmericanCheckers.ToGameVariant().pdnMembers)[Move[1]];

            return(Math.Abs(firstCoord.Row - secondCoord.Row) == 2);
        }