Softcoded c++ 2d multiplayer game