))) {
            let id = 'player-' + n;
            let node = document.createElement('div');
            players.appendChild(node);
            player[n] = Elm.Build.Player.init({
                node: node
            });

            connectPlayerPorts(server, id, player[n]);
        }

        function addId(id, port) {
            return function(msg) {
                port.send({ id: id, msg: msg});
            }
        }

        function ifMatches(id, port) {
            return function(msg) {
  