Using MFC to write a Gobang program