[sugar] Adding 'Collaboration' to an activity
Miguel Álvarez
miguel at laptop.org
Thu Jul 26 06:54:30 EDT 2007
Hi Julius,
I don't know if you've already been answered by Reinier, but here it goes
anyway.
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.
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).
Mail me if you have any concrete question.
Cheers,
Miguel
On 7/22/07, Julius B. Lucks <julius at younglucks.com> wrote:
>
> Hi All,
> I am working on Kuku Anakula (Hungry Chicken), which is an educational
> quiz game for the XO (see wiki.laptop.org/go/Kuku). 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.
>
> 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.
>
> 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?
>
> I appreciate any information that could help me get started.
>
> Cheers,
>
> Julius
>
>
> ---------------------------------------------------------------------------------------
> Please Reply to My Permanent Address: julius at younglucks.com
> http://www.openwetware.org/wiki/User:Julius_B._Lucks
>
> ----------------------------------------------------------------------------------------
>
>
>
>
> _______________________________________________
> Sugar mailing list
> Sugar at lists.laptop.org
> http://lists.laptop.org/listinfo/sugar
>
>
--
violence is the last refuge of the incompetent
--isaac asimov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.laptop.org/pipermail/devel/attachments/20070726/9c30cde4/attachment.html>
More information about the Devel
mailing list