Gobang, using C language and ncurses implementation