MaxCoderz

for your 1 bit pleasure!

All times are UTC




Post new topic Reply to topic  [ 13 posts ] 
Author Message
PostPosted: Sat 10 Mar, 2007 4:20 am 
Offline
Maxcoderz Staff
User avatar

Joined: Thu 16 Dec, 2004 10:06 pm
Posts: 4094
Location: I cant seem to get out of this cryogenic chamber!
Conway's Game of Life!
------------------------------

Introduction:
----------------

This program will simulate the famed cellular automaton devised by the British
mathematician John Horton Conway in 1970, "The Game of Life".

Conway's "Game of Life" is the best known example of a cellular automaton.

This is a 'zero-player' game, the way in which it evolves is determined by its
initial state (in our case, a PIC). You simply create an initial PIC and then
observe how it evolves.

Basically what it does is take every pixel on the screen and applys some rules:

1: Any live cell with < 2 neighbours dies of loneliness
2: Any live cell with > 3 neighbours dies of overcrowding
3: Any dead cell with exactly 3 neighbours is bought to life
4: Any live cell with 2 or 3 neighours remains unchanged
Note: births and deaths can occur during 1 generation

More info can be found at: http://en.wikipedia.org/wiki/Conways_Game_of_Life


Features:
------------

*NEW* Algorithm - Fast!
Estimate ~10fps on 83(+), ~25fps on SE
Speed control (4 speeds: Min, 25%, 75%, Max)
Infinite yet enclosed universe via screen wrapping (can toggle on/off)
Uses TIOS PIC variables
PIC variables can be in RAM or ARCHIVE

Screenshots:
-----------------

Image Image Image

Download:
--------------

http://www.ticalc.org/archives/files/fi ... 39705.html

_________________
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image


Last edited by tr1p1ea on Wed 14 Mar, 2007 9:20 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sat 10 Mar, 2007 4:45 pm 
Offline
Regular Member

Joined: Fri 17 Dec, 2004 8:20 pm
Posts: 86
This is great stuff! Where's the source?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sat 10 Mar, 2007 7:29 pm 
Offline
Sir Posts-A-Lot
User avatar

Joined: Sun 11 Dec, 2005 2:21 am
Posts: 234
uberness! any chance of source for those of us who like icons?

_________________
Vermont Sustainable Heating Initiative || my author profile


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun 11 Mar, 2007 12:27 am 
Offline
Maxcoderz Staff
User avatar

Joined: Wed 15 Dec, 2004 7:26 pm
Posts: 2735
Location: The Hague, Netherlands
really great program :)

_________________
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon 12 Mar, 2007 1:52 am 
Offline
New Member

Joined: Thu 22 Feb, 2007 6:28 am
Posts: 14
Wow. Did you re-write it or did you modify the source for Ti-83? Either way that is some complicated math.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon 12 Mar, 2007 2:02 am 
Offline
Maxcoderz Staff
User avatar

Joined: Thu 16 Dec, 2004 10:06 pm
Posts: 4094
Location: I cant seem to get out of this cryogenic chamber!
It was rewritten, my routine is set up a lot different than the 86 implementation, and although the core is optimised more (shaved 200,000+ cc's/frame), and that mine supports true wrapping, the methodology is still essentially the same.

_________________
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon 12 Mar, 2007 3:05 am 
Offline
New Member

Joined: Thu 22 Feb, 2007 6:28 am
Posts: 14
Wow, don't wanna be a beggar but uh..

will you teach me sensei?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed 14 Mar, 2007 4:03 am 
Offline
Maxcoderz Staff
User avatar

Joined: Thu 16 Dec, 2004 10:06 pm
Posts: 4094
Location: I cant seem to get out of this cryogenic chamber!
You want to learn Conway's or ASM?

Here is an interesting one:

Image

EDIT - Some more! Oscillators (various periods) and Pinball :):

Image Image

_________________
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed 14 Mar, 2007 8:26 am 
Offline
Calc Wizard
User avatar

Joined: Tue 25 Apr, 2006 2:24 pm
Posts: 552
Location: your mom.
Did you come up with these on your own, or are there well known game of life setups out there? Either way, WOW, those look cool.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed 14 Mar, 2007 9:12 am 
Offline
Maxcoderz Staff
User avatar

Joined: Thu 16 Dec, 2004 10:06 pm
Posts: 4094
Location: I cant seem to get out of this cryogenic chamber!
Well the first image i just drew a horizontal line in the middle :).

The others are documented patterns, but i dont know how widely known they are. The oscillators are cool 8).

There is a pretty sweet one that looks like a double-helix ... its a smidgen too big for the calc screen thouugh :(.

_________________
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun 18 Mar, 2007 4:04 am 
Offline
Calc Master
User avatar

Joined: Fri 04 Mar, 2005 12:52 am
Posts: 1069
Location: NW Wisconsin
Ew! They're all squishy looking!

heh heh. Good work tr1p1ea!

_________________
My diet consists of nails, code-stealers, and HP fans.
Projects:

Robot War [TI-82, TI Flash App]
Sonic the Hedgehog [Multiplatform]


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon 19 Mar, 2007 4:12 am 
Offline
New Member

Joined: Thu 22 Feb, 2007 6:28 am
Posts: 14
tr1p1ea wrote:
You want to learn Conway's or ASM?



Either, ha. Mostly Conway's though. I just can't necessarily grasp it. I may not have high enough math for it. I'm only in Math 1050


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sat 24 Mar, 2007 6:56 pm 
Offline
Calc Wizard
User avatar

Joined: Fri 17 Dec, 2004 10:22 pm
Posts: 745
Location: Wandering around in the Jungle...
Tr1p I didn't know you had made this. I saw it on ticalc, looked cool! As always I am ever more impressed by you.

_________________
The Revolution is here...


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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 | DVGFX2 by: Matt