dsh-life-game
Manifest validConway's Game of Life for DeepSeek Harness: a sidebar panel row opens a drawable centre-column board with four rules, seven stampable patterns and a population chart.
dsh-life-game
Conway's Game of Life for DeepSeek Harness — a sidebar panel row and a full centre-column board.
What it adds
| Seat | What you get |
|---|---|
sidebar.panellist / life-game | A sidebar row (glider glyph; the sidebar owns the button and its label) |
main / life-game | The board fills the centre column, auto-fitted to it |
shell.overlay / life-game-float | An optional floating window, for watching while you chat |
Features
- Four rules: B3/S23 (Life), B36/S23 (HighLife), B3678/S34678 (Day & Night), B2/S (Seeds).
- Draw on the board: drag to paint, right-click to erase, alt-drag to erase.
- Pattern library: glider, LWSS, Gosper glider gun, R-pentomino, acorn, pulsar, diehard — pick one and click to place it, with a translucent preview under the cursor.
- Two independent knobs: the board (Fit / 40×24 / 64×38 / 98×58 / 140×84) and the cell size in px. With a preset board the zoom only scales the view; while fitted it also changes how many cells fit.
- Live readouts: generation, population, peak, density, board size, and a population sparkline. Newborn cells flash.
- Torus or dead edge, 1–120 generations per second, single-step, random soup, clear, and reset-to-seed.
- Bilingual (zh/en) through the host locale service, following the active language live.
- Preferences persist (board, zoom, speed, rule, edge, float position and running state).
Install
dsh plugin --profile web add /absolute/path/to/life-plugin
Then restart dsh once so the profile recomposes its bundle list.
Development
node build.mjs # src/ -> lib/
node test/life.spec.mjs # the simulation, the seats, preferences, i18n
node test/bundle.spec.mjs # the built bundle, mounted in a fake page
src/game.js is one plain-JavaScript body shared by two hosts: the dynamic Cordis
runner (new Function(...), React as a closure symbol, nothing durable) and this
package's browser bundle (window.__ModuleLoader__.load, require("react"),
LIFE_DURABLE on). build.mjs is the only difference between them.
Notes
- The board runs on the client's Cordis
timerservice and paints with canvas 2D. - Preferences live in the browser's
localStorage(keydsh-life-game:prefs) — they are view state, not plugin configuration. The dynamic package writes none. - No network, no host service, no filesystem access.
MIT licensed.
Comments
Loading…
Similar plugins
by Entaum
Adds a Spawnd.gg games cabinet to the DeepSeek Harness Web sidebar with search, sorting, hover previews, embedded play, and a minimized player.
★ 1
↓ 44/wk
MIT
JavaScript
Aug 31, 2026
dsh plugin --profile web add dsh-free-gamesby EnkiduGilgamesh
DeepSeek Harness plugin: a hoverable/clickable outline rail on the left of the chat column (one marker per turn, summary card on hover, click to jump).
★ 0
MIT
JavaScript
Aug 15, 2026
dsh plugin --profile web add dsh-codex-side-outlineby ghbhiee
A Snake game panel for the DeepSeek Harness web UI
★ 0
MIT
JavaScript
Aug 18, 2026
dsh plugin --profile web add dsh-plugin-snakeby hfdsdfgr
DeepSeek Harness Web plugin: live account balance as a colour-banded vertical progress bar on the right edge of the GUI, with an animated wave above the threshold.
★ 0
MIT
JavaScript
Sep 19, 2026
dsh plugin --profile web add dsh-balance-barby imkingjh999
DSH plugin: 深海摸鱼 —— context 越深潜得越深,答完摸鱼集镭射生物卡 | Deep-sea slacking holo cards
★ 2
↓ 234/wk
MIT
TypeScript
Aug 26, 2026
dsh plugin --profile web add dsh-deepseaby Aisland-SJL
🌊 Persistent dock & fully-customizable balance/usage panel for DeepSeek Harness — activity heatmap, dual-channel comparison, local-only & privacy-first
★ 112
MIT
JavaScript
Oct 2, 2026
dsh plugin --profile web add dsh-usage