Skip to content

Latest commit

 

History

History
58 lines (34 loc) · 1.05 KB

README.md

File metadata and controls

58 lines (34 loc) · 1.05 KB

Conway's Game of Life

Rules

For a space that is populated

  • Each cell with one or no neighbors die;
  • Each cell with four or more neighbors dies;
  • Each cell with two or three neighbors survives.

For a space that is empty or unpopulated

  • Each cell with three neighbors becomes populated.

This repository

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

Alt text

Alt text

Setup guide

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