based on
https://github.com/grakoczy/picocomputer-game-of-life/tree/main
by grakoczy
for Picocomputer 6502 designed by Rumbledethumps
Picocomputer GitHub
is a cellular automaton that is played on a 2D square grid.
Each square (or 'cell') on the grid can be either alive or dead, and they evolve according to the following rules:
- Any live cell with fewer than two live neighbours dies (referred to as underpopulation).
- Any live cell with more than three live neighbours dies (referred to as overpopulation).
- Any live cell with two or three live neighbours lives, unchanged, to the next generation.
- Any dead cell with exactly three live neighbours comes to life. The initial configuration of cells can be created by a human, but all generations thereafter are completely determined by the above rules. The goal of the game is to find patterns that evolve in interesting ways - something that people have now been doing for over 50 years
source of text above https://conwaylife.com/
LLVM-MOS must be in your PATH. However, this may conflict with other LLVM
installations, like the one that comes with your operating system.
In that case, you can adjust the path for only CMake with a VSCode setting.
Add a file .vscode/settings.json
with the following contents. Adjust the
path for where you installed LLVM-MOS.
{
"cmake.environment": {
"PATH": "~/llvm-mos/bin:${env:PATH}"
}
}