daryakaviani / conway Goto Github PK
View Code? Open in Web Editor NEWallow the user to click to toggle living/ dead elements includes a method, step, that calculates the state of the grid at the next time step allow the user to either key- press to the next time step or to step automatically using run(), possibly giving the user the opportunity to change timeStep with key presses (1 = 500, 2 = 1000ms, etc.).