Re: [Sugar-devel] Porting sugar activity to sugarizer

2020-03-12 Thread Abhishek Tanwar
Working on it. Thanks for the feedback. On Fri, 13 Mar, 2020, 1:56 AM James Cameron, wrote: > Sorry, no, I can't. I don't understand it fully myself, and I've a > lack of time. My focus is on the reverse; to bring Sugarizer > activities back into Sugar. > > In general, you should spend the

Re: [Sugar-devel] Porting sugar activity to sugarizer

2020-03-12 Thread James Cameron
Sorry, no, I can't. I don't understand it fully myself, and I've a lack of time. My focus is on the reverse; to bring Sugarizer activities back into Sugar. In general, you should spend the time to decompose and document the algorithm using your own understanding of Python source code. The

Re: [Sugar-devel] Porting sugar activity to sugarizer

2020-03-12 Thread Abhishek Tanwar
I have been trying to understand the game but it is quite tough .If you could provide me with some logic,algorithm and references used ,it would be helpful to understand the code. Thank You On Thu, Mar 12, 2020 at 9:07 AM James Cameron wrote: > The board is not random in the beginning. > > When

Re: [Sugar-devel] Porting sugar activity to sugarizer

2020-03-11 Thread James Cameron
The board is not random in the beginning. When creating a game to play Implode starts with an empty board state and injects transformations to confuse that state. The type of transformations are the exact inverse of those the player requests in a winning move sequence. The code is in

[Sugar-devel] Porting sugar activity to sugarizer

2020-03-11 Thread Abhishek Tanwar
I am porting Implode activity to sugarizer . I read the code a few times and I partially understood its working . One thing that I am not able to understand is the logic that the game always have an answer despite of random board formation in the beginning . Is it that the initial state of board