diff --git a/src/gameoflife.ts b/src/gameoflife.ts index 731c8a2..8bec9d5 100644 --- a/src/gameoflife.ts +++ b/src/gameoflife.ts @@ -27,7 +27,7 @@ class GameOfLife { private offsetX: number = 0; private offsetY: number = 0; private zoomLevel: number = 1; - private isPaused: boolean = false; + private isPaused: boolean = true; private isDragging: boolean = false; private lastMouseX: number = 0; @@ -223,22 +223,6 @@ class GameOfLife { } } - private seedInitialPattern() { - // Add a simple glider pattern to start - const glider = [ - { x: 1, y: 0 }, - { x: 2, y: 1 }, - { x: 0, y: 2 }, - { x: 1, y: 2 }, - { x: 2, y: 2 } - ]; - - for (const cell of glider) { - this.activeCells.add(this.cellToString(cell)); - this.potentialCells.add(this.cellToString(cell)); - } - } - private cellToString(cell: Cell): string { return `${cell.x},${cell.y}`; }