Finished Game of Life

Finished Game of Life
0

#1

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??


#2

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


#3

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


#4

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:


#5

Thanks. I’ll try to use this.