A simple c++ implementation of Tic Tac Toe with the minimax algorithm.
Modified from https://github.com/Chaoskira/tictactoe-minimax
compile:
g++ play.cpp game.cpp -o play
run:
./play
Realization in myself!!
one player is client, another is server
compile server:
g++ game_server.cpp -o server -lws2_32
run server:
./server
compile client:
g++ game_client.cpp -o client -lws2_32
run client:
./client