z2

I agree. Take me to the spicy page.
It is currently Fri Dec 14, 2018 3:43 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Fri Oct 09, 2009 9:57 am 
Offline
MMMM baby
User avatar

Joined: Thu May 07, 2009 11:45 am
Posts: 32
Conway's Game of Life:

http://www.youtube.com/watch?v=hBp3j_Uah8w

Code:
:main
#set y
#set x
:loop
#set a
#set north y -- north
#set ney y -- ney
#set nex x ++ nex
#set nwy y -- nwy
#set nwx x -- nwx
#set south y ++ south
#set sey y ++ sey
#set sex x ++ sex
#set swy y ++ swy
#set swx x -- swx
#set east x ++ east
#set west x -- west

#ifa y x solid
#ifa ney nex solid ++ a
#ifa nwy nwx solid ++ a
#ifa sey sex solid ++ a
#ifa swy swx solid ++ a
#ifa north x solid ++ a
#ifa south x solid ++ a
#ifa y west solid ++ a
#ifa y east solid ++ a
#if a gt 1
#if a lt 4 #put alt y x solid
#endif

#ifa not y x solid
#ifa ney nex solid ++ a
#ifa nwy nwx solid ++ a
#ifa sey sex solid ++ a
#ifa swy swx solid ++ a
#ifa north x solid ++ a
#ifa south x solid ++ a
#ifa y west solid ++ a
#ifa y east solid ++ a
#if a eq 3 #put alt y x solid
#endif

#++ x
#if x eq 60
#set x 0 ++ y
#endif

#if y eq 25 pend
#loop
:pend
#altswap
#idle main


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 09, 2009 12:35 pm 
Offline
this is my hammer
User avatar

Joined: Wed Mar 12, 2003 11:40 am
Posts: 2767
Location: between the black and white spiders
when i was like 7 years old i went on holiday with my parents to wales and we visited conwy castle because i was obsessed with medieval lego at the time, and every time somebody mentions conway's game of life i think of conwy castle + also most other castles in north wales

:rocket:

_________________
he looked upon the world and saw it was still depraved :fvkk:

Overall: Rotton egg for breakfast


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group