Game of LifeTrackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
Hey Nico
You surely know about xlife, don't you? There, you can also adjust rules, speed, size and can even fill the whole "game field" with random bits. Sad though, that all the "civilizations" after some time don't develop any more...
Yes, I know xlife, I also played with Evocell and zivoth before implementing my version. And I know that xlife sucks It implements this simple functionality and some X handling in over 8000 SLOC. Thats more than my window manager nees But thats not the topic, sure my program sucks compared with xlife, the civilization is hardcoded...
But it was just fun to try to implement it (after doing it is very easy And no its wrong that "all the "civilizations" after some time don't develop any more..." The glider for example develops in an endless loop. Or even 3 bits in a line will do.
Okay, maybe you're right. Usually I look at a program's functionality and whether it does what I want it to to, not at the number of SLOC. But anyway...
To get to the development part: Of course, there are certain structures that flicker back and forth (your three-cell-in-a-row, for example) and some elements that continuously move around the field (your glider, for example). But as soon as a glider runs into another (flickering) structure, it develops to something else. And as soon as there are no other "civilizations" thatn these flickering structures I'd consider the development as "dead". I as well just played with it a little bit and these are my observations. I have never fully read that wikipedia article and thus don't know how there is referred to certain phenomens...
@SLOC && FUNCTIONALITY I look at both.
apart from my glider there are also other well known examples for multiple forms which will not die
I know that there are certain constructs that won't die. My point is something different: they always make the same development again, they don't influence other structures or cells. They are flickering between their two or three states. I don't think that is real development.
Ah ok, no thats not real development BUT have a look at evocell. It allows to define more complex rules so you can simulate real cell division for example.
I suggest using SDL for such simulations. It's also impressive if you use more than two states to get colorful traces. Ant simulations are also easy to code and nice to look at.
Add Comment
|
Calendar
QuicksearchSupportRecent Entries
CategoriesTag cloud23c3 acpi advertising annouce announce april argh art awards bash blogging bugs c cli code conferences config configuration data mining debconf debian dell dns documentation email errm? events exploit fail fail2ban filesharing films flame fun gcc google graphs grml gsm hacking hacks hardware heise images information installation internet irc knowledge libacpi links linux mobile phones network news newsbeuter omg open source opera passwords php power privacy programming qa random blurb rant release releases rss scripts security service setup shell sms software spam ssh stfl stuff terminal tests text mode tip tips tools troubleshooting unix user video vim.editing web web 2.0 websites wordpress wtf www youtube zsh
|