4-in-a-row Play a game between user and AI. Getting Started Choose who to play first. O for user, A for AI If AI is set to play first, it's default first move is D4. First one to connect 4 in a row, diagonally, vertically, or horizontally wins. Also, keep records of every move.