(self, from_square, to_square, promotion=NONE)
The source square.
The source square.
The source square .
def __init__(self, from_square, to_square, promotion=NONE):
        self.from_square = from_square
        """The source square."""

        self.to_square = to_square
        """The target square."""

        self.promotion = promotion
        """The promotion piece type."""
def __init__ ( self , from_square , to_square , promotion = NONE ) : self . from_square = from_square self . to_square = to_square """The target square.""" self . promotion = promotion """The promotion piece type."""