AI player for generalized connect 4