Browse Source

remember last game step

feature/balanceutils
informaniac 8 years ago
parent
commit
cf8de6a073
  1. 1
      gameOfLife.py

1
gameOfLife.py

@ -73,6 +73,7 @@ for frame in range(500): @@ -73,6 +73,7 @@ for frame in range(500):
# calculate next step
gameBoardNextStep = []
lastGameBoard = gameBoard
for rowIndex in range(HEIGHT):
newRow = []
for colIndex in range(WIDTH):

Loading…
Cancel
Save