AI for Connect6 using C