On 25/01/16 17:53, Mahesh Dabhade wrote:
> Now I am not even able to count the neighbors
Then start with that as a first step.
> Can u plzz help me out in counting neighbours...
We need to see what you are doing to be able to help
> N even better can u plzz send the program code
No, w
On 25/01/2016 17:53, Mahesh Dabhade wrote:
Hi...I have problem in game of life...
But I have 4 states rather than just two states like live and dead...
These are
0 : bare earth
1: grass 2: prey 3: predator
And rules are
1 )if 2 surrounded by less than 2 of 1 then 2 becomes 1.starvation
2)if 0
Hi...I have problem in game of life...
But I have 4 states rather than just two states like live and dead...
These are
0 : bare earth
1: grass 2: prey 3: predator
And rules are
1 )if 2 surrounded by less than 2 of 1 then 2 becomes 1.starvation
2)if 0 surrounded by more than 0 of 1 then 0 become