Skip to content

Programming-The-Next-Step-2023/livelycells

Repository files navigation

livelycells

An R Shiny App for Conway´s Game of Life.
click here to play it online in your browser

Description

This is an R package which contains an R Shiny App for Conway´s Game of Life.

Rules:

  1. A live cell with two or three live neighbours survives - otherwise it dies.
  2. A dead cell with three live neighbours becomes a live cell.

At time point zero, the player uses their mouse to click some cells to life. Then, the cells evolve over time and show all sorts of interesting behavior. There are also preset patterns which can be loaded.

Installation

To install and play the game locally, use
devtools::install_github("Programming-The-Next-Step-2023/livelycells")
in RStudio and then open the app with livelycells::play() in a web browser.

Dependencies, Credits, Copyright

Aside from shiny, livelycells has no dependencies.
However, this app was built with the help of code under the MIT license from the pixeltrix package by Matt Dray.

Releases

No releases published

Packages

No packages published

Languages