Game Of Life

By Pieter Pareit

Game Of LifeGame Of Life

The Game of Life, also recognized simply as Life, is a mobile automaton devised by the British mathematician John Horton Conway in 1970.

The sport is a zero-player game, meaning that its evolution is determined by its preliminary state, requiring no further input. One interacts with the Game of Life by creating an initial configuration and observing the way it evolves.

Rules:

The universe of the Game of Life is an infinite two-dimensional orthogonal grid of sq. cells, every of which is in one of two potential states, alive or dead. Every cell interacts with its eight neighbours, which are the cells which are horizontally, vertically, or diagonally adjacent. At every step in time, the next transitions occur:

Any reside cell with fewer than two reside neighbours dies.

Any live cell with two or three stay neighbours lives on.

Any stay cell with greater than three reside neighbours dies.

Any dead cell with precisely three live neighbours becomes a live cell.

The preliminary sample constitutes the seed of the system. The first era is created by making use of the above guidelines concurrently to each cell in the seed—births and deaths occur concurrently, and the discrete second at which this happens is sometimes known as a tick (in different phrases, each era is a pure perform of the preceding one). The guidelines continue to be applied repeatedly to create further generations.

More info: http://en.wikipedia.org/wiki/Conway_game_of_life

About this implementation:

This program was initially written to get acquainted with the android API. What is nicer then using such a wonderful mathematical object like this automaton. I took special care to implement this with tablets in mind.

The code is on the market underneath the GPL licence, see the github web site ppareit/gameoflife.

Programming: Pieter Pareit

Artwork: Birgit Niemegeers

Similar Apps

Description:

This is a collection of mobile automata - fields of cells which stay by certain rules. At this point Living Cells is able to simulate not solely the well-known Life by John Conway, but also its colored variant, a family of mobile automata known as Generations, which includes extensively recogn...

Description:

Golly is an open supply, cross-platform software for exploring Conway's Game of Life and many other types of cellular automata.Key options:Supports bounded and unbounded universes, with cells of as much as 256 states.Supports a number of algorithms, including Bill Gosper's...

Description:

The Game of Life is a cellular automaton devised by Dr John Conway in 1970. The recreation is a zero-player game, meaning that its evolution is determined by its initial state. One interacts with the Game of Life by creating an initial configuration and observing how it evolves.The r...

Description:

Prepare to Experience the New Testament Like Never Before! In addition to the whole RSV Second Catholic Edition Text (RSV-2CE), the app consists of the audio for the Gospel of Mark and FREE choice from the Ignatius Catholic Study Bible for the Gospel of Mark. At any time you can purcha...

Description:

Combinatorics can calculate and enumerate all attainable permutations, combos, ...Combinatorics algoritmes:* Permutations of letters* Anagrams of words* k-Permutations of letters* Combinations of letters* Combinations with repetitions of letters...

Description:

Application that can remedy polynomial equations of n-degree.This device also reveals the explication for each step. Handy software when learning to solve polynomial equations.This device has algorithms to solve:* First degree equations* ABC-formula for solving seco...

Description:

This app makes use of Accessibility providers.Enter the Immersive Mode. This is the total display screen mode! IMPORTANT:* Because of an Android limitation, the keyboard won't work whereas in immersive mode. But more of your screen can be seen.This tool can enter an...

Description:

This is NanoPond, an artificial life simulator for Android.NanoPond runs a digital machine by which 'life' can develop. This digital machine is a port of a java program by Thomas Abeel, who in turn based his virtual machine on the c code of Adam Ierymenko. NanoPond was used in a Computa...

Description:

This program allows you to run an ftp server on your android device. This signifies that any other computer/device can access the information on your android device while the ftp server is working. For example, coming into 'ftp://...' within the firefox url bar will permit you to browse the fi...

Comments