Skip to content

dialupdev/life-like

Folders and files

NameName
Last commit message
Last commit date

Latest commit

cd37f70 · Jan 25, 2025
Jan 25, 2025
May 11, 2024
Apr 13, 2024
Dec 27, 2024
Apr 13, 2024
Nov 2, 2024
Jul 5, 2023
Apr 13, 2024
Sep 15, 2024
Dec 26, 2024
Jan 25, 2025
Sep 1, 2024
Nov 2, 2024
Sep 2, 2024

Repository files navigation

Life-like

Download pattern file from server (entropymine.com)

npm run patterns:download

Install patterns from source file

npm run patterns:install

Architecture

Model

  • Only stores data
  • May be reactive

System

  • Has access to Models
  • Defines a tick() method to operate on Models

Controller

  • Has access to Models and Systems

Plugin (?)

  • Has access to a single Model and Controller
  • Defines an activate() method to bind Controller behaviors
  • Optional: Defines a deactivate() method to unbind Controller behaviors

Versions

V1 game engine (JS via ECS): http://vasir.net/blog/game-development/how-to-build-entity-component-system-in-javascript

V2 game engine (JS via hash tables): https://pzemtsov.github.io/2015/04/24/game-of-life-hash-tables-and-hash-codes.html

V3 game engine (Rust via hash tables): https://rustwasm.github.io/docs/book/game-of-life/introduction.html

Reference: http://www.mirekw.com/ca/rullex_life.html https://conwaylife.com/ref/lexicon/lex.htm https://conwaylife.com/wiki/Plaintext

Art series

Life-like: Maze Life-like: Coral Life-like: Stains?

Rule ideas

Favorites

  • life
  • coral
  • maze + alts
  • move
  • dayAndNight

References