Search⌘ K
AI Features

Main Loop Modules

Learn how to implement the play function.

What we have

Here is the snap of our startGame() function.

C++
void startGame() {
char board[9];
initialize(board);
int gameMode = getMode();
play(board, gameMode);
}

We have completed the first two ...