Hacker News new | past | comments | ask | show | jobs | submit login

Thank you for the link to the book. I have always been interested in how to make the starting shapes. I am going to study the book more but started to realize that there are re-usable shapes that can be used to make more complex shapes (early, still, oscillators, gliders, etc..). This seems to be what I was looking for with the starting x/y and then the rule combo and pattern.

I was also thinking there must be a better way than knowing exactly how big the board is vs an infinite board. Also making the edges either always dead or alive VS letting the shapes pass through like pac-man.

Here is my horrible implementation using HTML canvas, JS/JQuery.

https://github.com/JoshuaMichaelHanson/GOL/blob/master/js/go...

Yes, I also made a new green account so as to not dox myself with my other accounts.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: