Game Of Life

Game Of Life

By Pieter Pareit

Game Of LifeGame Of Life

The Game of Life, also identified merely as Life, is a cellular automaton devised by the British mathematician John Horton Conway in 1970.

The sport is a zero-player game, that means that its evolution is decided by its preliminary state, requiring no additional enter. One interacts with the Game of Life by creating an initial configuration and observing how it evolves.

Rules:

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

Any live cell with fewer than two reside neighbours dies.

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

Any live cell with greater than three stay neighbours dies.

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

The initial pattern constitutes the seed of the system. The first technology is created by making use of the above rules concurrently to each cell within the seed—births and deaths occur concurrently, and the discrete second at which this happens is typically known as a tick (in different phrases, each era is a pure perform of the previous one). The guidelines continue to be applied repeatedly to create additional generations.

More information: 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 an attractive mathematical object like this automaton. I took particular care to implement this with tablets in thoughts.

The code is available under the GPL licence, see the github site ppareit/gameoflife.

Programming: Pieter Pareit

Artwork: Birgit Niemegeers

Similar Apps

Description:

In this co-op game for 2 individuals, you and your partner must guess 15 words, giving one another clues and hints. The game is made based on the popular board sport Codenames and provides you to experience an actual intellectual task.The recreation is played on single gadget (phone, pi...

Description:

It’s Time to Go to War!From the Creators of Doodle God Doodle Devil Comes a New All Ages Puzzle Game!Available in 6 Languages Over a hundred and seventy Million Players For Doodle Series Worldwide!BECOME A TANK ARMORED VEHICLE DESIGNER!From the creator...

Description:

This app uses Accessibility companies.Enter the Immersive Mode. This is the total display screen mode! IMPORTANT:* Because of an Android limitation, the keyboard will not work while in immersive mode. But more of your display can be seen.This software can enter and ...