How hard is it to change or extend the maths problems in Gcompris?<br><br>For example, there is that nice game where you have to do simple addition and subtraction to save Tux from parachuting into the river.  How hard would it be to add "12 X 15"  or "square root of 49"?
<br><br>This may not exactly constructionist learning but it would develop very useful skills.  I really wish I could compute 12 X 15  in my head. <br><br>It would be great to take your various activities and increase the level of difficulty for more advanced kids
<br><br><div><span class="gmail_quote">On 2/2/07, <b class="gmail_sendername">Bruno Coudoin</b> <<a href="mailto:bruno.coudoin@free.fr">bruno.coudoin@free.fr</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;">
Le jeudi 01 février 2007 à 17:09 -0500, Marco Pesenti Gritti a écrit :<br>> On Thu, 2007-02-01 at 21:15 +0100, Yves Combe wrote:<br>> I guess my question is... would it possible to integrate GCompris, or<br>> some of the GCompris boards with sugar as activities (which doesn't
<br>> necessarily imply mesh support)?<br>> I think it's by far a more interesting question, and I'd love to see it<br>> happen.<br><br>If you have the gnomecanvas and it's python bindings, then one approach
<br>could be to port GCompris python boards as sugar activity. This means,<br>also creating a subset of the GCompris core in python.<br><br>Let's take a real exemple, the electric activity<br>(src/boards/python/electric.py):
<br><a href="http://gcompris.net/en-electric">http://gcompris.net/en-electric</a><br><br>This activity requires the gnucap binary, the python gnomecanvas and<br>calls these functions from the GCompris core:<br><br>gcompris.bar_set
()<br>gcompris.bar_set_level()<br>Our control bar is part of the core, we use it display the difficulty<br>level. The bar could be rewritten in python or removed and we could<br>replace this by sugar interactions.<br><br>
<br>gcompris.set_background()<br>This set the background image. its a couple lines of code to rewrite<br>this in python.<br><br>gcompris.utils.load_pixmap() (90% of the calls)<br>The most used function, it just load an image from disk. One line in
<br>python to do the same.<br><br>gcompris.skin.image_to_skin()<br>We have a skin system, that can be simply skipped by using fixed path in<br>image loading.<br><br>gcompris.utils.dialog()<br>Display an image that looks like a modal dialog box. easy to rewrite one
<br>but can be removed, it's mostly use for error case that should not<br>happen on a close system like the olpc. There is perhaps a central<br>console in sugar that could get these messages.<br><br>gcompris.bonus.board_finished
()<br>Display a cute image as a bonus, can be rewrite easily or removed.<br><br>gcompris.set_cursor()<br>It's a few lines of code in C/GTK to to this, it is probably more easy<br>to do in python. Can be skipped.<br><br>
<br>As you see, we are not so dependent on GCompris core. Just providing a<br>python load_pixmap() equivalent and commenting the other functions<br>should be enough to have a functional and independent electricity<br>activity.
<br><br>Clearly, this path is a fork and we won't share code but if this can<br>bring some nice activities to the OLPC, on our side, we will support<br>you.<br><br>There is another slightly different approach, we could add a native
<br>python GCompris core API so that we will stay close in most cases.<br><br>--<br>Bruno Coudoin<br><a href="http://gcompris.net">http://gcompris.net</a> Free educational software for kids<br><a href="http://toulibre.org">
http://toulibre.org</a> Logiciel Libre à Toulouse<br><br>_______________________________________________<br>Devel mailing list<br><a href="mailto:Devel@laptop.org">Devel@laptop.org</a><br><a href="http://mailman.laptop.org/mailman/listinfo/devel">
http://mailman.laptop.org/mailman/listinfo/devel</a><br></blockquote></div><br>