Xholon WebRTC Apps

Please note that the apps linked to from this page, require a modern browser, such as a recent version of Google Chrome or Firefox.

I am trying various WebRTC scenarios, using 2 Xholon apps. One app uses ten provinces in Canada, while the other app uses 10 cantons in Switzerland. Each app revision tests something different.

Scenario 01 (github rev 1)

Ontario and St Gallen send messages to each other.

WebRTC complex Canada

WebRTC complex Schweiz

Optionally paste the following into Avatar, after moving Avatar to Ontario.

<script>
var a = this.parent();
a.action("script;\nbuild cup;\ntake cup;\ngo port0;\nlook;\ndrop cup;\ngo port0;\n");
</script>
    

Scenario 02 (github rev 3)

Ontario and St Gallen, plus Quebec and Graubunden, send messages to each other. Both connections work at the same time.

WebRTC complex Canada

WebRTC complex Schweiz

Scenario 03 (github rev 3)

this scenario didn't work

Scenario 04 (github rev 4)

WebRTC complex Canada (gist) or WebRTC complex Canada (localstorage)

WebRTC complex Schweiz (gist) or WebRTC complex Schweiz (localstorage)

PeerJS Chat

Scenario 05

Schweiz will create a container node with some arbitrary contents. Avatar will move from Canada to Schweiz, will take a container node, will return to Canada, and will smash the container to reveal the contents.

Sample Schweiz content:

<container>
  <Ort roleName="das Heim">
    <Ort roleName="das Haus">
      <Ort roleName="der Keller"/>
      
      <Ort roleName="die K├╝che"/>
      <Ort roleName="das Wohnzimmer"/>
      <Ort roleName="das Esszimmer"/>
      <Ort roleName="das Pianozimmer"/>
      <Ort roleName="das Badezimmer"/>
      
      <Ort roleName="das Schlafzimmer" multiplicity="3"/>
      <Ort roleName="das Badezimmer">
        <Ort roleName="die Dusche"/>
        <Ort roleName="die Badewanne"/>
      </Ort>
    </Ort>
    <Ort roleName="der Garten"/>
    <Ort roleName="die Veranda"/>
    <Ort roleName="die Garage"/>
  </Ort>
</container>
    

Sample Canada content:

<script>
var a = this.parent();
a.action("script;\ngo port0;\ntake container;\ngo port0;\ndrop container;\nsmash container;\n");
</script>
    

OR just take a clone

<script>
var a = this.parent();
a.action("script;\ngo port0;\ntakeclone container;\ngo port0;\ndrop container;\nsmash container;\n");
</script>
    

Links to the Xholon editor for each app

WebRTC complex Canada (gist)

WebRTC complex Schweiz (gist)

WebRTC complex Canada (localstorage)

WebRTC complex Schweiz (localstorage)


Ken Webb

Xholon GWT is a Xholon project. Copyright (C) 2016 Ken Webb

  @QWERTYUIk
  OPASmDFGHe
  primordion
  JKLZcXCVB.