Explained the moves encoding