#include <iostream>
using namespace std;
char board[3][3] = {{'1','2','3'},{'4','5','6'},{'7','8','9'}};
char current_marker;
int current_player;
void drawBoard() {
cout << " " << board[0][0] << " | " << board[0][1] << " | " << board[0][2] << endl;
cout << "-----------\n";
cout << " " << board[1][0] << " | " << board[1][1] << " | " << board[1][2] << endl;
cout << "-----------\n";
cout << " " << board[2][0] << " | " << board[2][1] << " | " << board[2][2] << endl;
}
bool placeMarker(int slot) {
int row = slot / 3;
int col = slot % 3 - 1;
if (slot % 3 == 0) {
row = slot / 3 - 1;
col = 2;
}
}
int winner() {
for (int i = 0; i < 3; i++) {
// rows
if (board[i][0] == board[i][1] && board[i][1] == board[i][2])
return current_player;
// columns
if (board[0][i] == board[1][i] && board[1][i] == board[2][i])
return current_player;
}
if (board[0][0] == board[1][1] && board[1][1] == board[2][2])
return current_player;
if (board[0][2] == board[1][1] && board[1][1] == board[2][0])
return current_player;
}
void swap_player_and_marker() {
if (current_marker == 'X') current_marker = 'O';
else current_marker = 'X';
}
void game() {
cout << "Player one, choose your marker (X or O): ";
char marker_p1;
cin >> marker_p1;
}
int main() {
game();
return 0;
}