Dev Works

Conway's Game of Life

A classic cellular automaton devised by British mathematician John Conway, implemented in JavaScript

0 claps earned
Conway's Game of Life

client

Self-initiated

roles

Design, development

built with

Vanilla JavaScript for logic, and React/Gatsby for scaffolding with styled-components for styling

Background

After reading John Maeda's blog article “Life is just a big math problem,” I felt inspired to implement this mathematical simulation on my own. It turned out to be a good, fun JavaScript exercise for handling 2-dimensional matrices, and I felt pretty good about the result.

Key Features

  • Fundamental game logic by John Conway

  • Loading pre-defined patterns

TODO

  • Consider using canvas rather than divs to render the grid

  • Allow users to generate and save their own patterns, and have it persist between sessions

+0
Clap a few times
if you liked it
© 2023 by Bumhan Yu