The conflict between Xing and Zheng dynasty construct the history of Taiwan since 1646. In that times, the player of international politics are Portuguese, Spain, Dutch and the Kingdom of British from Europe, addition to the Japan and Xing Empire. The Geopolitical Code of Zheng dynasty influences its strategy to "anti Xing and restore Min". The code have two levels, fight with Xing Dynesty in local, cooperate with Japan, control Manila and compete with Netherland in region. The location of Taiwan in East-Asia Sea defines the Zheng dynasty rule and national strategy. War and peace negotiation between Xing and Zheng dynasty is a coordinated relation interaction. The "hair cut" issue was the Major argument and made two country got no acknowledgement. This is the key point to understand Koxinga and his sons' strategies to against Xing.