The Game of Life & Cellular Automata
The Game of Life & Cellular Automata
ReidSavage
Thegameoflife,coinedbymathematicianJohnConwayinthe1960s,isazeroplayergame
basedoncellularautomata(henceabbr.CAM).Initsmostelementaryform,itisplayedby
usingagridsystemofsomesortandamethodofflippingthestatesofthecellsfromtwo
states(on/off,dead/alive,0/1,etc)thiswasoriginallyaccomplishedwithaGoboard.Inthis
game,acertainamountofcellsstatesareflippedtotriggerthebeginningofthegame.With
eachiterationoftime,acalculationisperformedoneachcell.JohnConwaysvariation
includedtheserules:
Ifthecellisalive,thenitstaysaliveifithaseither2or3liveneighbors.
Ifthecellisdead,thenitspringstolifeonlyinthecasethatithas3liveneighbors.1
Theserulesarearbitraryinthattheyholdnospecialsignificanceotherthanallowingfora
CAMgamethatisbothinterestingandhardtopredict.
Ifweconsiderthestateof3adjacentcells,howmanypossibleautomata(evolutions)are
there?Ifeachcellhastwostates,andtherearethreecells,andordermatters,thiswouldbe
23combinations.However,sincethestateofthemiddlecellcanbepickedindependently,
thereareactually28combinations.Thiscanbegeneralizedask^(k^(s)),wherekisthe
numberofstatesacellcanoccupy,andsisthenumberofneighboringcells.Asyoucantell,
thenumberofpossibleautomatagrowsreallyfast.Thefunctionk^(k^(s))isquitescary
onceyouconsiderthenumberofpossibilitiesonatheoreticallyinfinitegridandmorethantwo
states.2
1
2
http://www.math.cornell.edu/~lipa/mec/lesson6.html
And/orthethird/fourthdimension,man.
Conwaysgameoflifeisfarfromtheonlysetofrulesthathavebeencreatedbasedonthe
cellularautomaton.Theinventorofthekeyprinciplesofthecomputer,JohnvonNeumann,
devisedhisownsetofrulestoexploremachineselfreplication.vonNeumannscellular
automatonisbasedonaCartesian3 gridwitheachcellhaving29possiblestatescategorized
intothegroundstate,transition/sensitizedstates,confluentstates,ordinarytransmission
states,andspecialtransmissionstates.Asyoucansee,consideringtheaboveequation,the
numberofpossibleautomatacanbepracticallyinfinite,andcanbeusedtomodelmany
differentsystems.vonNeumannsoriginaluseforCAAwascreatedforthemodelingoffluid
dynamicswithtodaysextremelypowerfulcomputers,therearefarmorecomplexsystems
thatcouldbemodeledtohigherresolution.
CAMhaveapplicationsintrafficmodeling,urbangrowthmodeling,patternrecognition,
cryptography,machinelearning,particlemodels,fluiddynamics,thermo/hydrodynamics,
seismicelastodynamics,gasbehavior,andjustaboutanysystemofwhicheachcellsstate
canbedeterminedbythepreviousstateofitsneighbors4 .
Asyoucansee,thecomplexityofCAMcanvarywildly,andishighlyapplicabletomany
differentproblems.Itislikelythattheywillbepopularmodelingtoolsforquitesometime.5
Unitsquarebased.
Whichturnsouttobealot.
5
Atleastuntilwefigureoutthatonesystemthatexplainsalloftheothersystems.
4