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 VS2012Client Main > main.cpp Server Main > main.cpp
You can hire someone to answer this question! Yes, essay96.com has paper writers dedicated to completing research and summaries, critical thinking tasks, essays, coursework, and other homework tasks. It's fast and safe.