Science lab / cellular conflict

Naim's War of Life: one world, many ways to survive.

Design factions with their own rules, paint their opening territories, and watch every empty cell become contested ground.

Rules of engagement

Life, with allegiance

Naim's War of Life extends Conway's cellular automaton by giving every living cell a faction. Factions can follow classic Life or entirely different birth and survival rules, expressed in the familiar B/S shorthand. The default faction begins at B3/S23. This is a site-specific experimental design and implementation; it is not presented as a standard research model or as a claim of a globally novel class of cellular automaton.

Every faction views its neighbours through its own diplomacy: its own cells and allies count +1, neutral cells count +0.5, and enemies count −1. Living cells test that effective count against their survival rule. Empty cells test every faction independently against its birth rule.

Reading the rules

  1. B means birth. B3 lets a faction claim an empty cell when its relationship-weighted neighbour count is exactly 3.
  2. S means survival. S23 keeps a living cell alive when its effective count is 2 or 3 from that cell's faction perspective.
  3. Diplomacy has weight. Own and allied cells add 1; neutral cells add 0.5; enemies subtract 1. Relationships are mutual, update both factions immediately, and default to Neutrality.
  4. Births compete. If several factions qualify, the greatest positive support wins: own and allied cells add 1, neutral cells add 0.5, and enemies add nothing to this tie-break score. Enemies still suppress the effective count but never claim a cell without qualifying themselves. Ties produce no birth.
  5. Spontaneous births are optional. If no faction earns a normal birth, each enabled faction gets its independent 1-in-X roll. One successful claim wins; simultaneous spontaneous claims cancel out.
  6. Everything updates together. Claims and deaths use the current generation, then appear simultaneously in the next one.

B36/S23, for example, means birth at an effective count of 3 or 6 and survival at 2 or 3. A fractional result such as 2.5 does not match an integer rule.

How to command the field

Pause the simulation, choose Place on a faction or select Erase, then click or drag across the grid. Add factions with the + button and edit names, colours, births, survival counts, spontaneous birth chance, and each faction's view of every rival at any time. Randomise distributes living cells across every current faction. Use Fast-forward to resolve an exact number of generations as a single turn while preserving the complete population history.

A quick example

Red treats Blue as an enemy. Around an empty cell, three Red neighbours and one Blue neighbour give Red an effective count of 2. Blue performs its own independent calculation from Blue's perspective.

Return to Conway's Game of Life

Deep instrument

Faction battlefield

Build rival rule sets, seed the field, and let weighted local interactions settle each contested birth.

Generation 0

Factions

Own/ally +1 · neutral +0.5 · war −1

Population history

Generation 0 · 0 live cells

Edit mode: pause, choose Place or Erase, then click or drag on the field.

Under the hood

The Mathematics Used in This Simulation

War of Life is a finite, synchronous cellular automaton derived from Life-style B/S rules, with each live cell carrying a faction id and each faction assigning relationship weights to neighbouring factions.

Weighted neighbourhood

Ef = nown + nally + 0.5nneutral - nenemy

A faction evaluates every neighbouring live cell from its own perspective. Its birth and survival sets are tested against this effective count, so fractional neutral support can matter.

Birth competition

winner = arg maxf Pf, for qualifying factions

Empty cells evaluate every faction. If exactly one faction qualifies, it claims the cell. If several qualify, the greatest positive support wins; exact ties produce no birth. Optional spontaneous births are independent random trials.

Assumptions and limits

This is a site-specific exploratory rule system, not a validated ecological or military model. Relationships are mutual in the interface, updates are simultaneous, edges are dead boundaries, and randomness only enters through enabled spontaneous birth rolls and random seeding.

Further mathematics