Thank for your answer. Those are awesome tips :) If you read my posts in the forum you should be able to read what I wrote. Its because whenever I insert raw text it gets deletet right away and I have to edit the post and put it back in. Anyways in my last post you see how i did it. I think you are also refering to that.
I know using 2d matrix/ array is a a waste. Maybe when I start to refactory this game I try to focus on you aprooach. Sounds good. One could even use a 1d container like a list. Im not sure is the gameworld should grow inifitly. In the ruleset on wikipedia there is a fixed board size. The smallest one is 3*3 but I could implement is as one possible size to select from. To the part that i would only need to check certain cells I think I have to check all of them because they could get born in the next generation even tho they were never alive nor dead. Thng I wanted to improve here was that i do not need to check all the 6 neighbours. As soon as neighboars equals 4 the cell is dead for sure and there is no need to check further. Couls save at max half the time beauce only half the checks are made. -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
