Examples from the playground

Actually it was the small utility for the kind of Sea Battle game, but suits for Game of Life as well.
Here is another modification - https://playground.babylonjs.com/#19BLMV#37
Left click = pick
Right click = cancel
Button shows neighbours.
The same algorithm is using in the Go game, showing how much ‘breathes’ (empty adjacent spaces) has a stone or a group of connected stones.

2 Likes