Science answers questions. Philosophy questions answers.
- Colorado Springs, CO
Pinned Loading
-
-
-
-
Extremely fast Game of Life implemen...
Extremely fast Game of Life implementation in 30 lines of JavaScript 1function gameOfLife(pop) {
2const newpop = {};
3for (const coord in pop) {
4const [x, y] = coord.split(',').map(Number);
5for (let dx = -1; dx <= 1; ++dx) {
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.