ly/res
RadsammyT 0a29dc2fef feat(gameoflife): allow for variations to game of life (closes #1023) (#1041)
## What are the changes about?

Allows the game of life animation to be ran with configurable rules, specifically: the neighbors required for birth and survival.
### Example: [B3/S12345 (Maze)](https://conwaylife.com/wiki/OCA:Maze)
(where numbers after B are neighbors required for birth, and S for survival)
<video src="/attachments/49120c5e-ce21-4025-852e-924befbc2621" title="Screencast_20260814_233338" controls></video>

Introduces two keys to the config:
```ini
# Sets the multiple amounts of neighbors needed for a cell to survive.
# Each numerical digit from 0 to 8 inclusive in this string becomes
# one of the targets required for this cell to survive.
# Example: a string of "23" makes the cell survive on 2 or 3 neighbors
gameoflife_param_survival = "23"

# Sets the multiple amounts of neighbors needed for a cell to be born.
# Each numerical digit from 0 to 8 inclusive in this string becomes
# one of the targets required for this cell to be born.
# Example: a string of "3" makes the cell be born on 3 neighbors
gameoflife_param_birth = "3"
```

## What existing issue(s) does this resolve?

Solves !1023

## Pre-requisites

- [x] I have tested & confirmed the changes work locally
- [x] I have read and fully adhere to the rules set in the contributing guidelines found in `CONTRIBUTING.md`

Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/1041
Reviewed-by: AnErrupTion <anerruption+codeberg@disroot.org>
2026-08-24 15:32:16 +02:00
..
custom-sessions custom-sessions/README: remove extraneous comma (#927) 2026-02-08 13:16:25 +01:00
lang Minor pt_BR translation correction to sound more natural (#1018) 2026-06-14 21:59:15 +02:00
ly-runit-service Remove config TTY options in OpenRC & runit services 2025-10-17 23:08:15 +02:00
ly-s6 Fix dinit & s6 service + don't hardcode paths in runit service 2025-08-29 02:18:11 +02:00
pam.d Fix authentication error with ly-freebsd-autologin (#1020) 2026-07-03 18:37:40 +02:00
config.ini feat(gameoflife): allow for variations to game of life (closes #1023) (#1041) 2026-08-24 15:32:16 +02:00
example.dur [dur] Add support for alignments and negative offsets + Ly logo (#893) 2026-01-25 23:08:42 +01:00
example.lua Fix example.lua doc + add ly-community in README 2026-06-19 20:18:45 +02:00
ly-dinit Fix dinit & s6 service + don't hardcode paths in runit service 2025-08-29 02:18:11 +02:00
ly-freebsd-wrapper Update init service for FreeBSD 2025-10-18 11:23:57 +02:00
ly-kmsconvt@.service systemd: Add more conflicts, better kmscon service 2026-07-06 12:43:10 +02:00
ly-openrc Remove config TTY options in OpenRC & runit services 2025-10-17 23:08:15 +02:00
ly-sysvinit Add SysVinit service (closes #224) 2025-10-17 23:10:52 +02:00
ly@.service systemd: Add more conflicts, better kmscon service 2026-07-06 12:43:10 +02:00
setup.sh Possibly fix .Xresources not being loaded (closes #600) 2025-03-06 20:06:28 +01:00
startup.sh Make default startup script more compatible 2026-02-12 17:10:52 +01:00