Hi,

I have just submitted my GSoC application on the project: "Implementing Collaborative canvas, tic-tac-toe and guessing game in Tux Paint". Kindly review the application and any feedback will be more than welcome.

Thanks for you comments and time.

--Regards
Nitin Yadav

On Sun, Apr 1, 2012 at 11:36 PM, Pere Pujal i Carabantes <perepujal@gmail.com> wrote:
El dg 01 de 04 de 2012 a les 01:00 +0530, en/na Nitin Yadav va escriure:
> Hi Pere,
>
> I have sent a copy to the mailing list but its waiting approval as
> it's size is more than 40kb. Kindly have a look. I have also attached
> the snapshots of the working Tux Paint.
>
> ---------- Forwarded message ----------
> From: Nitin Yadav <nitinnitin18@gmail.com>
> Date: Sat, Mar 31, 2012 at 8:11 PM
> Subject: Re: [Tuxpaint-devel] Patch for Collaborative network mode for
> Tux Paint
> To: Discussion list for Tux Paint developers
> <tuxpaint-devel@lists.sourceforge.net>
>
>
> Hi,
>
> I have updated the prior patch of the "Collaborative network mode for
> Tux Paint" for simplex-mode transmission.
> Added features:
> 1) Enhanced the "brush_tool" feature. Now the drawing is smooth as
> there was some loose of packets in my earlier patch.
>
> 2) I have also added the draw_line functionality over the network
> passing only start and end coordinates.
>
> 3) The size and color of brush can also be modified
>

You shouldn't relay on things like cur_tool, cur_brush, etc. They may
change between computers. you will have to write a wrapper to identify
exactly the brush, the tool, the color... but this can wait until the
start of gsoc


> Presently it supports only single client connection and the brush_tool
> actions get duplicated on the client instance of Tux Paint.
>
you need to come up with a good plan on how the network should behave:
one server many clients or
any computer acting both as a server and as a client
any other idea you have...

and how to deal with conflicting data and missing hosts.


Take in mind that the goal of this task is to work toghether say 2-5
children in the same draw




> The procedure to install patch is same: apply diff.patch in tupaint
> and paste the server.png and client.png in the /data/images/tools/
>

Still haven't got time to test, but I trust you that it works


Pere