İçeriği kopyalayıp koymak yerine direk adresi veriyorum, vidyoyu bi izleyin sonra kodlara bakın derim. gui olmadan nasıl olur diye düşündüğüm şeyi on numara yapmış adamlar :)http://www.cppforschool.com/project/tic-tac-toe-project.htmlsiteyi kurcalayın, başka şeylerde var. Direk kod isteyenlere ; #include <iostream. h> #include <conio. h> char square = ; int checkwin ; void board ; int main { int player = 1, i, choice; char mark; clrscr ; do { board ; player=(player%2)?1:2; cout << "Player " << player << ", enter a number: "; cin >> choice; mark=(player 1) ? 'X' : 'O'; if (choice 1 && square '1') square = mark; else if (choice 2 && square '2') square = mark; else if (choice 3 && square '3') square = mark; else if (choice 4 && square '4') square = mark; else if (choice 5 && square '5') square = mark; else if (choice 6 && square '6') square = mark; else if (choice 7 && square '7') square = mark; else if (choice 8 && square '8') square = mark; else if (choice 9 && square '9') square = mark; else i=checkwin ; player++; }while(i -1); board ; if(i 1) cout<<" >\aPlayer "<<--player<<" win "; else cout<<" >\aGame draw"; getch ; return 0; } / FUNCTION TO RETURN GAME STATUS 1 FOR GAME IS OVER WITH RESULT -1 FOR GAME IS IN PROGRESS O GAME IS OVER AND NO RESULT / int checkwin / FUNCTION TO DRAW BOARD OF TIC TAC TOE WITH PLAYERS MARK / void board / END OF PROJECT / :)