A gomoku ninuki game in c++