Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / Life Simulator thingy

Author
Message
Fallout
22
Years of Service
User Offline
Joined: 1st Sep 2002
Location: Basingstoke, England
Posted: 20th Dec 2004 07:00 Edited at: 20th Dec 2004 07:05
Just watched some proggy about life and are we really here and all that jazz. They showed a scientist who had made that little life simulator thing. I just thought I'd give it a go in db and it's quite interesting.

Here's the source and image files if you'd like to take a peak. Press/hold space to spawn some new life cells. You can tweak the variables in the initialisevariables sub aswell.

Worth a look!

http://www.invisiblechainsaw.com/programs/Life.zip

Edit:
The rules are:
- If an empty cell is adjacent to exactly 3 full cells, a new cell is born.
- If a full cell is adjacent to more than 3 cells, it dies of overcrowding.
- If a full cell is adjacent to less than 2 cells, it dies of isolation
- If a full cell remains unchanged for 6 generations, it dies of age.

Neofish
20
Years of Service
User Offline
Joined: 7th Apr 2004
Location: A swimming pool of coke
Posted: 20th Dec 2004 07:06


:: Current Project - FLevels ::

:: WinXP Pro SP 1 : 2.8 GHz Celeron : 512 MB DIMM RAM : 64 MB Radeon IGP 345M : 40 GB HDD ::
Fallout
22
Years of Service
User Offline
Joined: 1st Sep 2002
Location: Basingstoke, England
Posted: 20th Dec 2004 07:09
Whats wrong with your eyes?

Nicholas Thompson
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 20th Dec 2004 08:41
Thats actually a REALLY cool screensaver type program! I love it!

Osiris
20
Years of Service
User Offline
Joined: 6th Aug 2004
Location: Robbinsdale, MN
Posted: 20th Dec 2004 10:23
mine has a dim error in it does it need DBP

Fallout
22
Years of Service
User Offline
Joined: 1st Sep 2002
Location: Basingstoke, England
Posted: 20th Dec 2004 18:00
Yeah, appologese, it's a DBPro proggy.

The idea is that giving a few cells a set of a few basic rules, they'll go off and perform complex operations. By just giving it a few rules, you can watch it spawn walking creatures (on a very simplistic level) that I didn't code, and explode in a kinda supernova way as a civilisation of many die out (which I didn't code either).

So far I've seen:
-Mini walkers
-Death explosions
-A spider that keeps spawning mini walkers (only seen that once)
-A hive type mass of cells that crept round in a circle.

It's not a game. Just a curiousity.

Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 20th Dec 2004 23:24
Very cool, but..mine walked off the screen

CURRENT PROJECT: Chaos Hizzle Demo
Osiris
20
Years of Service
User Offline
Joined: 6th Aug 2004
Location: Robbinsdale, MN
Posted: 21st Dec 2004 00:44 Edited at: 21st Dec 2004 00:44
ok i dl the DBP trial and now it cant find a file could someone send me the program by email please

BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 21st Dec 2004 01:08 Edited at: 21st Dec 2004 01:08
Osiris, it's in a few places on the net. Here's one, it doesn't have death from being unchanged, but I've never heard of that rule before...

Game of Life

BatVink
Fallout
22
Years of Service
User Offline
Joined: 1st Sep 2002
Location: Basingstoke, England
Posted: 21st Dec 2004 01:09
Mate, it's not worth going to the trouble of getting DBP just to look at this. It's a really simple 15 minute proggy! If you're gonna get the trial anyway, go for it, but don't get it just for this. It's not worth the effort!

Van B
Moderator
22
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 21st Dec 2004 01:40
Nice .

I remember an old Atari Lynx game that had a level that used a life algo as a wall, you'd shoot bit's off it and end up making matters worse .


Van-B


It's c**p being the only coder in the village.

Login to post a reply

Server time is: 2024-11-13 18:37:42
Your offset time is: 2024-11-13 18:37:42