Azuyamat / conway

Conway game of life in VueJS + ViteJS

Home Page:https://conway.azuyamat.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Website

Visit conway --> Made in VueJS + ViteJS

Conway game of life1

Conway's Game of Life is a computer program that creates patterns using a grid of cells, kind of like a checkerboard. Each cell can be alive or dead. It follows these rules:

Index Rule
1 Any live cell with fewer than two live neighbours dies, as if by underpopulation.
2 Any live cell with two or three live neighbours lives on to the next generation.
3 Any live cell with more than three live neighbours dies, as if by overpopulation.
4 Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.

Imagine starting with some living cells on the grid and then watching how they change with each "generation." It's like a simple computer game where patterns evolve over time based on these rules, creating interesting shapes and designs.


Here are a few examples of shapes you may encounter:

  1. Block:
XX
XX
  1. Beehive:
 XX
X  X
 XX
  1. Blinker:
 X
 X
 X
  1. Blinker:
 XXX
XXX

About the Author

Azuyamat

Profile Picture


Footnotes

  1. https://en.wikipedia.org/wiki/Conway's_Game_of_Life

About

Conway game of life in VueJS + ViteJS

https://conway.azuyamat.com


Languages

Language:Vue 78.8%Language:CSS 13.6%Language:HTML 4.4%Language:JavaScript 3.3%