Programming Homework Help
Programming Homework Help. Random walk TCP
Code a client or server-based game (that uses the select() function) that has two clients doing a “random walk” on a 20×20 grid. 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