Thread for Life simulators

For general discussion about Conway's Game of Life.
Post Reply
fluffykitty
Posts: 1175
Joined: June 14th, 2014, 5:03 pm
Contact:

Thread for Life simulators

Post by fluffykitty » March 9th, 2016, 1:01 pm

Post your Life simulators here!

User avatar
muzik
Posts: 5650
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Thread for Life simulators

Post by muzik » March 9th, 2016, 1:56 pm

Doesn't this technically belong in Scripts?

fluffykitty
Posts: 1175
Joined: June 14th, 2014, 5:03 pm
Contact:

Re: Thread for Life simulators

Post by fluffykitty » March 9th, 2016, 2:54 pm

Maybe. I thought this might be better here. I guess someone could move it.

User avatar
dvgrn
Moderator
Posts: 10685
Joined: May 17th, 2009, 11:00 pm
Location: Madison, WI
Contact:

Re: Thread for Life simulators

Post by dvgrn » March 9th, 2016, 7:21 pm

Okay, I can't resist putting in a link to this, even though the algorithm (al-Ḵwārizmī) isn't the best:

Conway's Life implemented in a programming language using Arabic script

Ran into it on The Register while hunting for a good reason for today's spike in conwaylife.com forum traffic.

fluffykitty
Posts: 1175
Joined: June 14th, 2014, 5:03 pm
Contact:

Re: Thread for Life simulators

Post by fluffykitty » March 9th, 2016, 7:54 pm

Is this Arabic Lisp or something?

M. I. Wright
Posts: 372
Joined: June 13th, 2015, 12:04 pm

Re: Thread for Life simulators

Post by M. I. Wright » March 9th, 2016, 9:00 pm

I'll try my hand at translating. Using C-style comments on lines that need clarification.

Code: Select all

(define theUniverse-next(lambda (universe)
do)
(define cell (lambda (s z)    //using z to replace ص
((if (list? (element z universe)    //does this mean "item z of universe"?
((item s (element z universe)
٠)))    //not sure if this is a period or a 0
(define neighbors (lambda (s z)
((add (cell (subtract s 1) (subtract z 1)
...okay, so I was planning to just go up to whenever the first parenthesis ends, but that's on line 38 and I think 8 lines is more than enough to get the idea. Does this help in identifying the language? I've never seen a .qlb file before.

thunk
Posts: 170
Joined: October 3rd, 2015, 8:50 pm
Location: Central USA

Re: Thread for Life simulators

Post by thunk » March 9th, 2016, 11:09 pm

M. I. Wright wrote:...okay, so I was planning to just go up to whenever the first parenthesis ends, but that's on line 38 and I think 8 lines is more than enough to get the idea. Does this help in identifying the language? I've never seen a .qlb file before.
From the linked Register article, this seems to be a new computer language developed for artistic purposes (and as a protest against Eurocentrism).
"What's purple and commutes?
The Evanston Express."

M. I. Wright
Posts: 372
Joined: June 13th, 2015, 12:04 pm

Re: Thread for Life simulators

Post by M. I. Wright » March 10th, 2016, 8:38 pm

Oh, did not notice that 'The Register' was a link in the above post. Given the Arabic text I probably should've tried pronouncing 'qlb' phonetically anyways, though!

Back on topic, I found one I wrote (badly) a while ago for the TI-84+CSE calculator. There are also a couple Life projects on there written in ez80 assembly for the 84+CE.

Gamedziner
Posts: 795
Joined: May 30th, 2016, 8:47 pm
Location: Milky Way Galaxy: Planet Earth

Re: Thread for Life simulators

Post by Gamedziner » August 14th, 2016, 7:09 am

Might as well mention that Life itself is capable of simulating Life. (see OTCA metapixel)

Code: Select all

x = 81, y = 96, rule = LifeHistory
58.2A$58.2A3$59.2A17.2A$59.2A17.2A3$79.2A$79.2A2$57.A$56.A$56.3A4$27.
A$27.A.A$27.2A21$3.2A$3.2A2.2A$7.2A18$7.2A$7.2A2.2A$11.2A11$2A$2A2.2A
$4.2A18$4.2A$4.2A2.2A$8.2A!

User avatar
triller
Posts: 114
Joined: September 3rd, 2009, 2:41 pm

Re: Thread for Life simulators

Post by triller » August 14th, 2016, 4:37 pm

Gamedziner wrote:Might as well mention that Life itself is capable of simulating Life. (see OTCA metapixel)
Being of periodic bent, I'm surprised this slipped under my radar. Maybe it was p46 vice my p30.
There are some nice things in this construction. The 'honey bit' memory is intriguing in an inverse logic kind of way.
I was most moved by the 3 generation LWSS advancer. It's axial, and while not viable @ p30, looks swank @ p60. Demonstrated here 4 on.

Code: Select all

x = 266, y = 122, rule = B3/S23
217b2o$217b2o2$203b2o$203b2o4$204bo13bo$203bobo11b3o$202bo3bo
9b5o$203b3o9bobobobo$201b2o3b2o7b2o3b2o3$218bo$217bobo$202bo14b
ob2o$202bo15b3o$202bob3o11bo2bo$219b3o$207bo10bo3bo$204bob2o9b
o5bo$204b2o6bo5bo3bo$211bo7b3o$211b3o$199b2o3b2o$199b2o3b2o$200b
5o7bo$201bobo9bo$211b3o$201b3o2$222b2o$222bo$223b3o$225bo$202b
2o$202b2o4$223bo2bo$222bo13bo$222bo3bo8bobo$222b4o9b2obo$235b
2ob2o3b2o$231bo3b2obo4b2o$231bo3bobo$15bo5b2o35bo5b2o35bo5b2o
35bo5b2o78bo5bo$15b3o4bo35b3o4bo35b3o4bo35b3o4bo$18bo3bobo7b2o
27bo3bobo9bo26bo3bobo5b2o29bo3bobo4bo70b2o$17b2o4b2o5bo2bo26b
2o4b2o8bobo24b2o4b2o5b2o28b2o4b2o3bobo$29bo15bobo28b2obo7b2o30b
2o10bo23b2o3bo14b2o$29bo10b3o2bo3bo26b2ob2o6bobo29b3o7bobo18b
o4b2o3bo13bobo72b2o$20bo8bo19bo26b2obob3o6bo28b2o6b2o21bo4b2o
3bo12b3o73b2o$20bo9bo2bo2b2o7bo4bo25bobo2bo2bo2bo2bo25b2o9b2o
28bobo12b3o50b2o3b2o$19bobo10b2o2bo2bobo7bo27bo4b2o6bo25b2o9b
2o29bo6bo7b3o50b5o$18b2ob2o14b3o5bo3bo3b2o32bobo6b2o31bobo7b2o
5b2o3b2o10b2o9bobo5b2o42b2ob2o$17bo5bo21bobo5bobo6b3o22b2o7bo
bo4b2o3b2o9bo11bo7bobo5b5o12b2o9b2o5bobo41b2ob2o$20bo34bo5bo3b
o32bo5b5o10bobo19bo6b3o33bo42b3o$17b2o3b2o31b2o3bo5bo7bobo21b
2o4b2ob2o10b2o20b2o6bo34b2o$30bo29bo5bo7b2o28b2ob2o$29bo33bo11b
o29b3o138b2o3b2o$3b2o24b3o14b2o13bo3bo23b2o41b2o112b2o3b2o$4b
o42bo14b3o3bo21bo42bo22bobo$4bobo7b2o31bobo9bo3b7o20bobo5bobo
11bo20bob2o3b2o14b2o70b2o18b3o$5b2o6b3o25bo6b2o8b5ob2o4bo13bo
6b2o5bo2bo9bo15bo6bo3bo3bo14bo12bo57b2o18b3o$10bob2o8b2o15b3o
15b2obobo2bobobo12b3o16b2o8b3o11b3o15bo7b2o15b3o78bo$10bo2bo9b
o14bo17b3obo2bo2b2o13bo17bo3b2o19bo11bo2bo3bo7b2o14bo$10bob2o
24b2o17b2obobo18b2o18b2o21b2o11bo5bo23b2o$13b3o42b4o36bo2bo36b
o3bo$14b2o43bo38bobo14bobo22b2o111bobo$77b2o37b2o133bo3bo$76b
obo37bo134bo12b2o$33bo44bo144bo2bo23bo4bo8b2o$34b2o186bo28bo$
33b2o124b3o3bo56bo3bo24bo3bo$161bo4bo55b4o27bobo$28b2o130bo3b
3o$29b2o212b2o$28bo213bobo$13bo25b2o11b2o28b2o10bo16bo13b2o12b
obo26b2o74bo$12bobo24bo12b3o27bo9b4o15b2o12bo12bo2bo26bo54b2o
$11bo3b2o4b2o17b3o11b2obo25b3o5bobob2o13bobo13b3o8b2o30b3o51b
2o$11bo3b2o4bobo18bo11bo2bo4b2o21bo4bo2bob3o30bo6b2o3bo7b2o21b
o51b2o21bo$11bo3b2o4bo32b2obo4b2o2b2o22b2obob2o40b2o9b2o73bo20b
3o$2b2o8bobo30b2o5b3o10b2o21b3ob4o35b2o5bo2bo80bobo18bo$bobo9b
o3bo26bobo5b2o13bo19bobo4bo15b3o17bobo6bobo80bobo18b2o$bo14bo
bo25bo42bo22bo19bo25bo66bo$2o13bo3bo23b2o15bo25b2o23bo17b2o24b
2o$15b5o40bo94bobo$14b2o3b2o7b3o28bobo158b2o3b2o13b3o$15b5o8b
o23b2o4b2ob2o11bo20b2o41b2o41b2o37bobobobo13b3o$16b3o10bo22bo
4bo5bo9b2o20bo6b3o33bo4b2o3b2o31bo39b5o13bo3bo$17bo23bo8bobo7b
o12bobo8bobo6bobo5bo3bo12b2o9b2o5bobo5b5o15bo7bo6bobo40b3o3b2o
$41b2o7b2o5b2o3b2o18bo3bo6b2o5bo5bo11bobo7bobo5b2o6b2ob2o14b4o
5bobo4b2o42bo3bobo8b2o3b2o$30bo5b2o4b2o26b2o10bo17bo5bo5bo5bo
8bo16b2ob2o9b2o2bo2b2o8b2o52bo$30bobo3b2o4b3o25bo2bo7bo4bo16b
o7bobo13bo2bo14b3o10b2o2b2o11b2o$31bobo2b2o4b2o30bo7bo18bo3bo
4bob2o13bo27b2o10bo7b2o$31bo2bo6b2o31bo7bo3bo17bo4b2ob2o14bob
o23b3o10bo4bobo62b2o$31bobo7bo32bo9bobo13bo2bo6bob2o15b2o24b2o
10bo4bo64bobo$14b2o4b2o8bobo24b2o4b2o5bo2bo26bo5b2o3bobo29b2o
4b2o7b2o77bo$15bo3bobo8bo27bo3bobo5b2o29bo3bobo4bo31bo3bobo7b
2o$12b3o4bo35b3o4bo35b3o4bo35b3o4bo75b3o$12bo5b2o35bo5b2o35bo
5b2o35bo5b2o74b2ob2o9bo$223b2ob2o$223b5o$222b2o3b2o2$238b3o$237b
o3bo$236bo5bo$226b2o8bo5bo$239bo$237bo3bo$238b3o$224b2o13bo$224b
2o2$238b2o$238b2o!
Enjoy,
triller
The most exciting phrase to hear in science, the one that heralds new
discoveries, is not "Eureka!" (I found it!) but "That's funny ..."
-- Isaac Asimov

Post Reply