Skip to content

RScicomp/Game-of-Life-Simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Game-of-Life-Simulator

Inspired by Conway's Game of Life: https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life. Modified from a previous tutorial given by: The Coding Train https://www.youtube.com/watch?v=FWSR_7kZuYg. Modifications include:

  • Red and white colors and different behavoirs associated with the differently colored pixels.
  • White can kill other reds if there are 2 or more white pixels surrounding a red pixel.
  • Red pixels can convert white pixels if there are three or more around a white pixel.
  • Previous rules of the original Game of Life apply: Ie. 2 pixels (of the same color) next to each other create a new pixel, one dies on its own, and being surrounded by three or more pixels kills a pixel.

Demo

About

Javascript and HTML based Game of Life Simulator.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published