Skip to content

scifisatan/automataGoL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Conway's Game of Life

Implemented using HTML/CSS/JS

Things I learned from this:

  • Cool trick to swtich 0 and 1
function changeColor() {
  const newState = 1 - state;
  state = newState;
  document.getElementById("colorbtn").innerText = "Change Color : " + color[newState];
}
  • Familiarised with canvas, button element, DOM Manipulation and Array in JS
  • Automata, States and Transition Table