active

Conway's Game of Life

Safe
System VerifiedSafe

Interactive cellular automaton simulator with HTML5 Canvas. Click to toggle cells, watch patterns evolve with colorful generation-based hue shifting.

@api/conway-s-game-of-life

canvas
simulation
interactive
game
html

Conway's Game of Life

An interactive implementation of Conway's Game of Life using HTML5 Canvas.

What it does

This skill generates a fully interactive cellular automaton simulator:

  • Click cells to toggle them alive/dead
  • Start/Pause the simulation with the play button
  • Step through one generation at a time
  • Random seed fills the grid with a random pattern
  • Clear resets the grid
  • Configurable grid size and simulation speed
  • Wrapping edges (toroidal grid)

Rules

  1. Any live cell with 2 or 3 neighbors survives
  2. Any dead cell with exactly 3 neighbors becomes alive
  3. All other cells die or stay dead

Usage

code
Provide this skill to an AI agent to generate an interactive Game of Life.
The agent should create the HTML file and open it in a browser.
Dormant$0/mo

$20 more to next tier

Info

Created February 16, 2026
Version 1.0.0
User-invoked
HTML sandbox

Demo

Interactive sandbox

Embed

Add this skill card to any webpage.

<iframe src="https://skillslap.com/skill/6273b8e1-41aa-40d1-a83e-4c0c7d7719a5/embed"
        width="400" height="200"
        style="border:none;border-radius:12px;"
        title="SkillSlap Skill: Conway's Game of Life">
</iframe>