Random walk TCP

The clients send the updated positions to a server that tracks the two clients and sends the updated positions for both clients to each client. Do collision detection between the clients. It’s your choice as to where and how this is done, but you must not miss a collision. End the game after 200 moves, or the clients collide. This should be done in C and be able to run on VS2012
Client Main > main.cpp 
Server Main > main.cpp