Hi Julius,<br><br>I don't know if you've already been answered by Reinier, but here it goes anyway. <br><br>Reinier and I programmed a sharedstate manager while in Cambridge, that takes care of setting up a tube, and managing shared objects (versioning, collision, and so on), for generic Python objects. It can be found on git (/projects/sharedstate), and you can find an example implementation in the very project folder, and another one in /projects/calculate.
<br><br>If you're not using some kind of event-based collaboration (which is, for instance, the type that the memorize activity employs), this might speed up sharing, as there is almost nothing to programm (just create a sharing helper, and add the objects to be shared to it).
<br><br>Mail me if you have any concrete question.<br><br>Cheers,<br><br>Miguel<br><br><div><span class="gmail_quote">On 7/22/07, <b class="gmail_sendername">Julius B. Lucks</b> <<a href="mailto:julius@younglucks.com">
julius@younglucks.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style="">Hi All,<div><br></div><div>I am working on Kuku Anakula (Hungry Chicken), which is an educational quiz game for the XO (see
<a href="http://wiki.laptop.org/go/Kuku" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">wiki.laptop.org/go/Kuku</a>). In the game, a quiz question is posed in the upper left corner of the screen. The player (a chicken) moves around a grid, with each grid square containing a possible answer. The goal is for the player to move to and 'eat' the correct answers for the posed questions.
</div><div><br></div><div>Currently, Kuku is only a one-player game. We would like to expand to multiple players on expanded grids - either in competition with each other, or working together to progress through the quiz questions. Kuku is written in pygame.
</div><div><br></div><div>Is there a standard way for activities to implement collaborative elements such as this? Are their standard API's for exchanging data between XO's?</div><div><br></div><div>I appreciate any information that could help me get started.
</div><div><br></div><div>Cheers,</div><div><br></div><div><span id="st" name="st" class="st">Julius</span></div><div><br><div> <span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<div>---------------------------------------------------------------------------------------</div><div>Please Reply to My Permanent Address: <a href="mailto:julius@younglucks.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
<span id="st" name="st" class="st">julius</span>@younglucks.com</a></div><div><a href="http://www.openwetware.org/wiki/User:Julius_B._Lucks" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.openwetware.org/wiki/User:Julius_B._Lucks
</a></div><div>----------------------------------------------------------------------------------------</div><div style="margin: 0px;"><br></div><br></span></span></span></span></span> </div><br></div></div><br>_______________________________________________
<br>Sugar mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Sugar@lists.laptop.org">Sugar@lists.laptop.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.laptop.org/listinfo/sugar" target="_blank">
http://lists.laptop.org/listinfo/sugar</a><br><br></blockquote></div><br><br clear="all"><br>-- <br>violence is the last refuge of the incompetent<br>--isaac asimov