Skip to content

prateek3255/game-of-life

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
css
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Game of life

Game of Life is a cellular automaton invented by British mathematician John Horton Conway in 1970. It consists of a 2-dimensional grid of cells, each having an alive or dead (or on or off) state. An initial state of the grid can be selected by assigning a state to each cell. New generations of cells can then be created based on the state of the current cells and their neighbouring cells with some dead simple rules. It is a zero-player game, which means that its evolution is determined by just its initial state, requiring no further input.

This project is an interactive implementation of the Game of Life, that allows you to play with it and explore what makes it so special.

demo.mp4

Check out the live demo and detailed explanation of how it works here - https://prateeksurana.me/game-of-life.

Built with

  1. βš› React
  2. πŸ— NextJS
  3. 🏷 TypeScript
  4. πŸ’„ Tailwind CSS
  5. πŸ“¦ Immer

About

An interactive demonstration of John Conway's Game of Life.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published