|
|
@ -90,5 +90,7 @@ for frame in range(500): |
|
|
|
gameBoardNextStep.append(newRow) |
|
|
|
gameBoardNextStep.append(newRow) |
|
|
|
gameBoard = gameBoardNextStep |
|
|
|
gameBoard = gameBoardNextStep |
|
|
|
if(gameBoard == lastGameBoard): |
|
|
|
if(gameBoard == lastGameBoard): |
|
|
|
|
|
|
|
for i in range(20): |
|
|
|
|
|
|
|
animation.addFrame(newFrame) |
|
|
|
break |
|
|
|
break |
|
|
|
writebml.writeBml(animation, '/home/pi/animations/gameOfLife.bml') |
|
|
|
writebml.writeBml(animation, '/home/pi/animations/gameOfLife.bml') |
|
|
|