40 reputation
3
bio website
location
age
visits member for 2 years
seen Oct 21 '12 at 19:01

Oct
13
comment Implementation of a new Game of Life Rule
evaluateCell[a_, i_, j_] := Module[{numWhite, numBlack}, {numWhite, numBlack} = countRedBlack[a, i, j]; Which[numWhite == numBlack, 2, numWhite > numBlack, 0, numBlack > numWhite, 1]]
Oct
13
comment Implementation of a new Game of Life Rule
I mean to COUNT 0 and 1 instead of 1 and 2, and the change rule, can i write the following code? > countRedBlack[a_, i_Integer?Positive, j_Integer?Positive] := With[{nb = Flatten@a[[i - 1 ;; i + 1, j - 1 ;; j + 1]]}, Count[nb, #] & /@ {0, 1}]
Oct
13
comment Implementation of a new Game of Life Rule
Do you think that if I want to change color scheme, i can apply the following code?
Oct
10
revised Implementation of a new Game of Life Rule
Boolean Function
Oct
10
comment Implementation of a new Game of Life Rule
I'm so sorry, but I'm not a programmer and I'm trying to implement this rule in Mathematica, it's for my thesis. I will use the right mechanism next time to attract attention.
Oct
10
revised Implementation of a new Game of Life Rule
New questions.
Oct
10
awarded  Citizen Patrol
Oct
4
awarded  Editor
Oct
4
awarded  Student
Oct
3
revised Implementation of a new Game of Life Rule
Comment on @amr
Oct
3
suggested suggested edit on Implementation of a new Game of Life Rule
Oct
3
revised Implementation of a new Game of Life Rule
Answer and put the modified code
Oct
3
suggested suggested edit on Implementation of a new Game of Life Rule
Sep
22
asked Implementation of a new Game of Life Rule