Rules
- Each cell with one or no neighbors die;
- Each cell with four or more neighbors dies;
- Each cell with two or three neighbors survives.
- Each cell with three neighbors becomes populated.
This repository has two versions of Conway's Game of Life, one of them (the Vue one) can be acessed via this repository github page.
Python Version #(uses python v.3.10.0)
cd life-py
# (optional) activate a environment for project dependencies
pip install -r requirements.txt
python life.py
Vue version #(uses node v14.20.1)
cd life-vue
nvm use # if you have node version manager
npm install
# for local initialization
npm run serve
# for local build
npm run build