I need a tic tac toe game source code in cpp .. it should be played between a human and computer on N X N board . Each one gets a point if he marks his X or O 3 in a row only horizontally or vertically . It should be written using threads , semaphores and Recursive function call .. and condition is its shouldd spawn threads at each level assuming the next human move and computer such that computer should always win the game .
please its really urgent !!!
then i need to play that game between two computers using pipes to communicate and semaphores !!
Enter your message below
Sign in or Join us (it's free).