CMU Artificial Intelligence Repository
Conway's Game of Life implemented in Prolog
lang/prolog/code/fun/life/
John Horton Conway's "Game of Life" implemented in Prolog.
This version returns successive generations in its fourth
argument, printing out the board before returning. Try the
query
life(11, 11, [[5|6],[5|7],[6|5],[6|6],[7|6]], X).
Origin:
Posted to comp.lang.prolog, 8-MAR-94
Version: 8-MAR-94
Ports: Sicstus Prolog
CD-ROM: Prime Time Freeware for AI, Issue 1-1
Author(s): Jamie Andrews
Simon Fraser University
with some suggestions from William Clocksin
Keywords:
Authors!Andrews, Conway's Game of Life, Life!Implementations,
Prolog!Code, Prolog!Fun Programs
References: ?
Last Web update on Mon Feb 13 10:33:40 1995
AI.Repository@cs.cmu.edu