<div dir="ltr"><div dir="ltr"><br></div><div>Just few elements to give you some context.<br></div><div><br></div><div>Sugarizer was designed initially to host Sugar activities written with Sugar-Web. A brief history of Sugarizer is here: <a href="https://github.com/llaske/sugarizer/blob/dev/docs/credits.md">https://github.com/llaske/sugarizer/blob/dev/docs/credits.md</a></div><div>So the Sugar-Web implementation in Sugarizer was compatible with Sugar.</div><div>It's why today, the activity template to write a new Sugarizer activity (<a href="https://github.com/llaske/sugarizer/tree/dev/activities/ActivityTemplate">https://github.com/llaske/sugarizer/tree/dev/activities/ActivityTemplate</a>) use in Sugarizer Development Tutorial, still include Python stuff. <br></div><div>Just zip the content of your Sugarizer activities into a .xo file (explain here: <a href="https://github.com/sugarlabs/sugar-docs/blob/master/src/web-activity.md#ready-to-release">https://github.com/sugarlabs/sugar-docs/blob/master/src/web-activity.md#ready-to-release</a>) and you should be able to install it on Sugar and run it. At least, theoretically.<br></div><div><br></div><div>Unfortunately the compatibility between Sugarizer and Sugar-Web was lost during the development of Sugarizer. The Sugar-Web implementation in Sugarizer was never merged in Sugar-Web, Sugarizer added new features (presence, Journal chooser, ...) not directly compatible with Sugar and no one worked to maintain the compatibility.</div><div><br></div><div>BTW it will be interesting to retrieve this compatibility, even if some features are not directly mappable, at least to allow a Sugarizer activity to be launched on Sugar and run basic features of the activity.</div><div><br></div><div>It's not necessary a very complex task but it require rigor and patience. The thread here: <a href="https://github.com/sugarlabs/sugar-web/pull/133">https://github.com/sugarlabs/sugar-web/pull/133</a> explain the process if you're volunteer to work on this task. Of course, both people from the Sugar side and from the Sugarizer side on this list will be able to help you.</div><div><br></div><div>Regards.</div><div><br></div><div>          Lionel.</div><div><br></div><div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mar. 7 avr. 2020 à 15:56, <<a href="mailto:sugar-devel-request@lists.sugarlabs.org">sugar-devel-request@lists.sugarlabs.org</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Date: Tue, 7 Apr 2020 13:14:28 +0530<br>
From: Abhishek Tanwar <<a href="mailto:abhishektanwar084@gmail.com" target="_blank">abhishektanwar084@gmail.com</a>><br>
To: James Cameron <<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>><br>
Cc: Sugar-dev Devel <<a href="mailto:sugar-devel@lists.sugarlabs.org" target="_blank">sugar-devel@lists.sugarlabs.org</a>><br>
Subject: Re: [Sugar-devel] New Activity Proposal<br>
Message-ID:<br>
        <<a href="mailto:CALhjuuh2VOWxmwB4Nmn9R8fUwOfAASSkSUZfm22Zge6kXhax2A@mail.gmail.com" target="_blank">CALhjuuh2VOWxmwB4Nmn9R8fUwOfAASSkSUZfm22Zge6kXhax2A@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Thanks for the clarification James.<br>
What I am not able to understand is that if I make an activity by following<br>
this <a href="https://github.com/llaske/sugarizer/blob/master/docs/tutorial.md" rel="noreferrer" target="_blank">https://github.com/llaske/sugarizer/blob/master/docs/tutorial.md</a> , how<br>
will the activity work in both sugarizer as well as in sugar .<br>
I have developed activities for sugarizer earlier and have decent<br>
experience in it but I am not sure if I am correctly understanding what you<br>
are looking for.<br>
I have gone through the discussions in<br>
<a href="https://github.com/sugarlabs/sugar-web/issues/127" rel="noreferrer" target="_blank">https://github.com/sugarlabs/sugar-web/issues/127</a> and<br>
<a href="https://github.com/sugarlabs/sugar-web/pull/133" rel="noreferrer" target="_blank">https://github.com/sugarlabs/sugar-web/pull/133</a> . Sugarizer activities use<br>
the sugar-web library , I can't find the relevant documentation for<br>
developing activities for both sugar and sugarizer, if you could help me<br>
with some documentation that would be great.<br>
<br>
Maybe I am not understanding what you intend to tell. Please let me know<br>
what direction to head in.<br>
<br>
Thank You<br>
<br>
On Tue, Apr 7, 2020 at 3:42 AM James Cameron <<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>> wrote:<br>
<br>
> Yes.  Sugar is a Linux environment that can run any language.<br>
> Sugarizer is a JavaScript environment inside browser.  An activity can<br>
> be written to run in both Sugar and Sugarizer.  The Sugar Web library<br>
> facilitates that.  You will have seen the post here earlier about work<br>
> on Sugar Web.<br>
><br>
> On Tue, Apr 07, 2020 at 03:19:00AM +0530, Abhishek Tanwar wrote:<br>
> > Hello ,<br>
> > I did not quite understand everything .<br>
> > By saying "include sugar as a platform for sugarizer activity" I did not<br>
> > understand what you are trying to say .<br>
> > Are you saying to make mancala for both sugar and sugarizer?<br>
> ><br>
> > Thank you<br>
> ><br>
> > On Tue, 7 Apr, 2020, 3:10 am James Cameron, <[1]<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>> wrote:<br>
> ><br>
> >     We have a Sugar activity for Mancala, written in Python.<br>
> ><br>
> >     [2]<a href="https://github.com/sugarlabs/mancala-activity" rel="noreferrer" target="_blank">https://github.com/sugarlabs/mancala-activity</a><br>
> ><br>
> >     License is GPLv3+, but Peter Hewitt has delegated an authority to me<br>
> >     to relicense his activities as we require.  Sugarizer activities use<br>
> a<br>
> >     different license in order to maximise distribution.<br>
> ><br>
> >     Please do include Sugar as a platform for your JavaScript activity.<br>
> ><br>
> >     On Tue, Apr 07, 2020 at 02:11:21AM +0530, Abhishek Tanwar wrote:<br>
> >     > Hello,<br>
> >     ><br>
> >     > I have been searching for games that could help the children to<br>
> develop<br>
> >     their<br>
> >     > brains and work in teams as well to incorporate the values of a<br>
> good team<br>
> >     > player.<br>
> >     ><br>
> >     > Mancala(or Mangala) is one such game that I came<br>
> across. [1]https://<br>
> >     > [3]<a href="http://en.wikipedia.org/wiki/Mancala" rel="noreferrer" target="_blank">en.wikipedia.org/wiki/Mancala</a><br>
> >     > [2][4]<a href="https://mancala.playdrift.com/" rel="noreferrer" target="_blank">https://mancala.playdrift.com/</a><br>
> >     > Mancala on sugarizer can be played between computer vs player ,<br>
> player vs<br>
> >     > player (offline ),player vs player (online using presence).<br>
> >     > I think this could be a good addition to sugarizer for children of<br>
> age 6<br>
> >     and<br>
> >     > above.<br>
> >     > I want to make this game for sugarizer and would like the<br>
> community to<br>
> >     share<br>
> >     > feedback on this if it would be good addition.<br>
> >     ><br>
> >     > Thank You<br>
> >     ><br>
> >     > References:<br>
> >     ><br>
> >     > [1] [5]<a href="https://en.wikipedia.org/wiki/Mancala" rel="noreferrer" target="_blank">https://en.wikipedia.org/wiki/Mancala</a><br>
> >     > [2] [6]<a href="https://mancala.playdrift.com/" rel="noreferrer" target="_blank">https://mancala.playdrift.com/</a><br>
> ><br>
> >     > _______________________________________________<br>
> >     > Sugar-devel mailing list<br>
> >     > [7]<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> >     > [8]<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
> ><br>
> >     --<br>
> >     James Cameron<br>
> >     [9]<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> ><br>
> > References:<br>
> ><br>
> > [1] mailto:<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> > [2] <a href="https://github.com/sugarlabs/mancala-activity" rel="noreferrer" target="_blank">https://github.com/sugarlabs/mancala-activity</a><br>
> > [3] <a href="http://en.wikipedia.org/wiki/Mancala" rel="noreferrer" target="_blank">http://en.wikipedia.org/wiki/Mancala</a><br>
> > [4] <a href="https://mancala.playdrift.com/" rel="noreferrer" target="_blank">https://mancala.playdrift.com/</a><br>
> > [5] <a href="https://en.wikipedia.org/wiki/Mancala" rel="noreferrer" target="_blank">https://en.wikipedia.org/wiki/Mancala</a><br>
> > [6] <a href="https://mancala.playdrift.com/" rel="noreferrer" target="_blank">https://mancala.playdrift.com/</a><br>
> > [7] mailto:<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> > [8] <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
> > [9] <a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
><br>
> --<br>
> James Cameron<br>
> <a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
</blockquote></div></div>