Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I got access to Google Wave a few days ago, and here's what the raw data for their <a href="http://en.wikipedia.org/wiki/Sokoban" rel="nofollow noreferrer">Sokoban</a> game (which supports two players playing simultaneously on the same board) looks like, for example:</p> <pre><code>&lt;blip&gt; &lt;p _t="title"&gt; &lt;/p&gt; &lt;p&gt; &lt;w:gadget author="blixt@wavesandbox.com" prefs="" state="" title="" url="http://sokoban-server.appspot.com/com.example.simplegadget.client.SokobanGadget.gadget.xml"&gt; &lt;w:pref name="playerAllocation" value="1 1,blixt"&gt; &lt;/w:pref&gt; &lt;w:pref name="totalMoves" value="8"&gt; &lt;/w:pref&gt; &lt;w:pref name="playerPositions" value="1 4,2"&gt; &lt;/w:pref&gt; &lt;w:pref name="rockPositions" value="6 2,2 3,2 14,2 15,2 16,2 4,3"&gt; &lt;/w:pref&gt; &lt;/w:gadget&gt; &lt;/p&gt; &lt;/blip&gt; </code></pre> <p>So yes, you can store any data you like in a single blip, with the possibility to go backwards in "time" to see older versions of the data etc.</p> <hr> <p>By the way, if you're interested in seeing some code for a robot that sits in a wave and interacts with users, I made one for a game I'm developing: <a href="http://code.google.com/p/multifarce" rel="nofollow noreferrer">Google Code Project for multifarce</a> (and <a href="http://multifarce.appspot.com/" rel="nofollow noreferrer">the game in question</a>, it's not really public yet and as such not particularly functional.) The bot source is here: <a href="http://code.google.com/p/multifarce/source/browse/app/wave.py" rel="nofollow noreferrer">multifarce Wave robot source</a></p> <p>Basically, all you need to get a bot running are the 14 last lines in that code. I love it! <code>=)</code></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload