Coder Social home page Coder Social logo

swing-game-of-life's Introduction

#The Game of Life

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

The "game" is a zero-player game, meaning that its evolution is determined by its initial state, requiring no further input. One interacts with the Game of Life by creating an initial configuration and observing how it evolves or, for advanced players,by creating patterns with particular properties. [1]

Life rules notation

SwingGoL

Life rules are defined in the "S/B" form, where: S - defines counts of alive neighbors necessary for a cell to survive, B - defines counts of alive neighbors necessary for a cell to be born.

Note that the count of colors (states) has no influence on next generations, because Life is a one-bit family of rules.[2]

Swing GoL

SwingGoL

Swing GoL in Action

Swing GoL's purpose is the customization of visual properties such as cell and border colors, the program also accepts the parametrization of user-entered rules. This allows the program to create unique combinations of patterns based on different rule-colors settings.

Built-in rule family screenshots

(Rule descriptions are credited to Mirek Wojtowicz)

Replicator (1357/1357)

Replicator

In this remarkable universe every pattern is a replicator. After 32 steps every starting pattern is replicated 8 times. Author unknown.

Mazectric (1234/3)

Mazectric

"Mazectric" and "Corrosion of Conformity". An interesting variation of the Maze rule which produces longer halls and a highly linear format. Adding B7 to maze (keeping S5) allows some "mice" to run back and forth in the halls. Switching the B3 to B45 though, electrifies the mazes. Dropping S3 gives "Corrosion of Conformity", a slow burn from almost any starting pattern, resulting in a rusting away of the local continuum. A rule by Charles A. Rockafellor.

Mamadou (23/345678)

Mamadou

A modification of the original Game of Life rules where the birth rules include all values above 3, start with simple patterns such as a cross and watch the automata evolve in very intresting patterns.

Gnarl (1/1)

Gnarl

A simple rule provided by Kellie Evans. To see its beauty start with simple patterns, for example with a single dot.

Flakes (012345678/3)

Flakes

Also known as Life without Death (LwoD). The rule produces beautiful flakes, starting from simple groups of cells. Try for example various filled circles with radius > 20 cells. The rule produces also ladders, what allowed David Griffeath and Cris Moore to prove that the rule is P-complete. A rule by Janko Gravner.

Diamoeba (5678/35678)

Diamoeba

Creates solid diamond-shaped "amoeba" patterns that are surprisingly unpredictable. For a long time it was not known whether any diamonds expand forever, or if the tendency toward the catastrophic destruction of corners is too strong. Finally in March 1999 David Eppstein found the c/7 spaceship, and David Bell made a 100% spacefiller out of it. A rule by Dean Hickerson.

Notable life implementations:

Sources

  1. https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life
  2. Mirek Wojtowicz at http://www.mirekw.com/ca/rullex_life.html

GIFs were created with the screenToGif free tool http://screentogif.codeplex.com/

swing-game-of-life's People

Watchers

 avatar

swing-game-of-life's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.