Dont worry, I cant fool my lecturer and he knows my way of working too well for me to even think of copying! LOL! otherwise, i would never have come here for HELP!!!! AND THEN, everywhere ive looked, they have done it in a language i dont understand...
Im meant to do it on my own, and its been decided even if we cant do it, we will give out the little we know is correct! and then, im learning cos its interesting, thanks to you all!!!
But i appreciate it, thanks again Booo!
So, ive been working with arrays, with loops, with if statements, and using my knowlegde in mathematics im trying to use switch!
somebody tell me this is good!!! plz!
and how do I do it for the next generation???
Im meant to do it on my own, and its been decided even if we cant do it, we will give out the little we know is correct! and then, im learning cos its interesting, thanks to you all!!!
But i appreciate it, thanks again Booo!
So, ive been working with arrays, with loops, with if statements, and using my knowlegde in mathematics im trying to use switch!
A B C
D E F
G H I
thats my input in my array of 15 by 15!! i enter the state for each cell (either 1 or 0), so if
neighbours of A = B + D + E
neighbours of A = 0, A becomes 0
neighbours of A = 1, A becones 0
neighbours of A = 2, A stays A
neighbours of A = 3, A becomes 1
¦
¦
continues for A = 4 till A =8!!!
i do this for B, C, D, E, F, G ,H...
somebody tell me this is good!!! plz!
and how do I do it for the next generation???