Skip to content

RKRitik/game-of-life

Repository files navigation

Game of life simulation

Also known as Conway's Game of Life is a cellular automaton. It s a zero-player game and the changes are based on the initial state of game.

The universe of the Game of Life is an infinite, two-dimensional orthogonal grid of square cells, each of which is in one of two possible states, live or dead. Each subsequent generation is created based on a set of rules.

Some Patterns

  1. Still life :

alt text

  1. Oscillator :

alt text

  1. Glider :

alt text

Some control options

  • Clear screen
  • Randomize living cells
  • Pause Simulation
  • Add a random pattern

Tech used

  • Vue3

  • HTML Canvas for drawing and simulation pixel

  • Vercel for CI/CD

Deployment Link