TIC-TAC-TOE Game using Graphics in C++
// Tic Tac Toe Game in C++ //Made By: Junaid Aslam Rajput //Roll No: 20SW084 #include<graphics.h> #include<iostream> #include<stdlib.h> using namespace std; char square[10] = {'o','1','2','3','4','5','6','7','8','9'}; //For Position of Elements //at which game played void StartingPage(); //Just For Look int checkwin(); void board(); //Whole board of Tic Tac Toe //and its numbers void graphicsfunc(); int main() { // graphicsfunc(); int player = 1,i,choice; char mark; do { board(); //Print the Board player=(player%2)?1:2; //For Changing players and make alternative if(player==1) { cout << "Player " << player << " Turn, Enter X at Position: "; //Display message which player`s