The shell bone script for character Square is
The above picture is uncomfortable, but it is better to show what the old shackles look like than text. The top is a square board.
The big seal script for character Square is
The original meaning of being shackled had been disappeared, probably back to 3000 years ago, people used the character as Square.
The small seal script for the character is
The clerical script for the character is
The pinyin for 方 is Fang1.