From ecdcf4f293f6f28d4fa82cfd05709b80933f5883 Mon Sep 17 00:00:00 2001 From: David Lindbom Date: Sun, 9 Jan 2022 20:27:35 +0100 Subject: [PATCH] Base: Add manual page for GameOfLife --- Base/usr/share/man/man6/GameOfLife.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Base/usr/share/man/man6/GameOfLife.md diff --git a/Base/usr/share/man/man6/GameOfLife.md b/Base/usr/share/man/man6/GameOfLife.md new file mode 100644 index 0000000000..9825278e77 --- /dev/null +++ b/Base/usr/share/man/man6/GameOfLife.md @@ -0,0 +1,21 @@ +## Name + +GameOfLife + +## Synopsis + +```**sh +$ GameOfLife +``` + +## Description + +GameOfLife is an implementation of John Conway's Game of Life. + +The game is a cellular automaton where each cell is either dead (grey) or alive (yellow) and will change state in the next tick if any of the following rules are fulfilled: + +* An alive cell will die by underpopulation if it has fewer than two neighbors. +* An alive cell will die by overpopulation if it has more than three neighbors. +* A dead cell will come alive by reproduction if it has exactly three neighbors. + +Otherwise, it will keep its old state.