Game Of Life - Conway

Game Of Life - Conway

The Game of life - John Horton Conway

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

>Rules

Any live cell with fewer than two live neighbours dies, as if caused by under-population.
Any live cell with two or three live neighbours lives on to the next generation.
Any live cell with more than three live neighbours dies, as if by over-population.
Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.

>For more information

See the wikipedia article on Conway's Game of Life: https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life

>How to play

The game comes with randomly generated game table. Also you can clear and draw your own patterns too. This application supports both landscape and portrait orientations.

>Development

This game includes one activity and one backgorund service. "LocalBroadcastManager" is used for commonicaiton between activity and backgroud service (GameService.java)

There is a singleton class "GameData.java" that holds game settings.

Observer Pattern is used for interactions of cells. When a cell changes its state its neighbour cells will observe this status change and keeps for next generation.

>Source Code

This is a demo application of my open source project on Github. You can checkout source codes at github. https://github.com/KAPLANDROID/Game-Of-Life
Advertisement

Download Game Of Life - Conway 1.0 APK

Game Of Life - Conway 1.0
Price: Free
Current Version: 1.0
Installs: 100+
Rating average: aggregate Rating (5.0 out of 5)
Requirements: Android 4.0.3+
Content Rating: Everyone
Package name: com.kaplandroid.gameoflife
Advertisement

What's New in Game-Of-Life-Conway 1.0

    initial release