MCPcopy Create free account
hub / github.com/MultithreadedJSBook/code-samples / gol.js

File gol.js

ch5-game-of-life/gol.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1class Grid {
2 constructor(size, buffer, paint = () => {}) {
3 const sizeSquared = size * size;
4 this.buffer = buffer;

Callers

nothing calls this directly

Calls 2

paintFunction · 0.85
iterateFunction · 0.85

Tested by

no test coverage detected