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.

Code Snippets / Simple Evolution Demo

Author
Message
Derek Darkly
6
Years of Service
User Offline
Joined: 22nd Sep 2011
Location: Whats Our Vector, Victor?
Posted: 16th Sep 2017 02:45 Edited at: 16th Sep 2017 02:48
Press 'r' to randomize the field
Press 'e' to randomize the environment color

The idea is that the creatures (cubes) who more closely resemble their environment (backdrop color) are less likely to get eaten.

-When a cube disappears, is was a predator (or random death)
-The cubes most like the background color are less likely to be killed
-Over time, the cubes will interbreed and their color will average out
-Sometimes this may take 1000 'years' or 1000*12 turns (one predatory attack per 'month')

+ Code Snippet
Send your parents to noisy sprite demo hell... enter the D-Zone

Login to post a reply

Server time is: 2017-10-24 12:09:29
Your offset time is: 2017-10-24 12:09:29