A client and server implementing tictactoe algorithm