I\'m using socket.io and vanilla javascript to create a small multiplayer RTS game. One of the key aspects in the game is sending money between the players (manager and mech