Finished Game of Life

I just finished Conway’s Game of Life.

Game of Life

Please review it and suggest ways of improvement.

Specifically how to speed the code up.
Are there any algorithmic optimizations which could be done here??

Awesome job man! It looks like it works perfectly.

Yes, the speed is somewhat sluggish. I suggest using requestAnimationFrame when it comes to down to animation.

Here’s an article that helped me utilized in my Game of Life

How do I give it a time interval?? Didn’t see any way of doing that.

Oh thats right, I forgot you have the options of interval time.

In that case, you can try implement something like this I found on stackoverflow:

Thanks. I’ll try to use this.