game/socket/pongSocket.js
function pipeEvents(source, destination, event) {
  source.on(event, function (data) {
    destination.emit(event, data);
  });
}
function pipeEvents(source, destination, event) {
  source.on(event, function (data) {
    destination.emit(event, data);
  });
}
function pipeEvents ( source , destination , event ) { source . on ( event , function ( data ) { destination . emit ( event , data ) ; } ) ; }
pipe specific events from source event emitter to destination event emitter
@param source event emitter
@param destination event emitter
@param event event name
pipe specific events from source event emitter to destination event emitter