emoval(id, connectionId) {
    const scheduleKey = `${id}-${connectionId}`;
    const removalTime = Date.now() + collisionRemovalDelay;

    playerCollisionRemovalSchedule.set(scheduleKey, {
      keyId: id,
      playerId: connectionId,
      removalTime: removalTime,
    });
  }

  function handleDisconnection(id) {
    keyboard.forEach((keyObject) => {
      if (keyObject.playersColliding.has(id)) {
        keyObject.playersColliding.delete(id);
      }
    });
  }

  function animate(element, attr, star