Skip to content

Latest commit

 

History

History
83 lines (59 loc) · 3.31 KB

README.md

File metadata and controls

83 lines (59 loc) · 3.31 KB

conway game of life gif

Conway's Game of Life built with Stimulus js

Author Languages Stars Forks

Play Conway's Game of Life and summon meteors to decimate a population of square colorful cells

📌 Table of Contents

🔧 Technologies

🚀 Features

  • Pick cells to be dead or alive
  • See how cells survive throughout the generations
  • Create a population of cells with the press of a button
  • Destroy all cells with the press of a button

👷 Installation and Getting Started

# Clone this repository
$ git clone https://github.com/mikemorcerf/conway-game-of-life-stimulusjs

# Go into the repository
$ cd conway-game-of-life-stimulusjs

# Install dependencies
$ yarn install

# Start the server
$ yarn dev:server

# Open http://localhost:9000/

🐾 How to Use

Working Online Demo

Play Conway's Game of Life on your browser using StimulusJS.

  • Click or tap any dead cell on the board to turn it alive
  • Click or tap any live cell on the board to kill it
  • Press the 🦖🦕 button to generate a random population of size 100
  • Press the ☄️🔥 button to destroy all live cells
  • Press the ▶︎ button to start the passing of generations
  • You cannot interact with the game while the generations are passing
  • Press the ◼︎ button to stop the passing of generations
  • You may change the speed in which generations pass by changing the value in the "seconds per cycle" entry

🐛 Issues

Feel free to file a new issue with a respective title and description on the Conway's Game of Life repository. If you already found a solution to your problem, I would love to review your pull request!

📕 License

Released in 2020. This project is under the MIT license.

Made with ♥ by Michael de Morcerf e Moura :bowtie: Say hi!