Playing Tic-Tac-Toe with server (PuTTY and WinSCP)
-
Put client.c and server.c in WinSCP folder
-
In PuTTY:
-> gcc -w server.c -o server
-> gcc -w client.c -o client
-
Duplicate session in PuTTY
-
In PuTTY:
First window: -> ./server
Second window: -> ./client
-
Play the game!
Standard input is number_space_number.
Upper left coordinate is (0 0).