Untitled AI Project 02
by Ruben
When some time ago I was bored I started this little AI experimental project (Actionscript-only, no Flex), tonight I had some time on my hands and decided to finish it.
The main reason behind this was to get a grasp of the utter basics of AI. Alongside that I also thought it'd be cool to try to have classes work with as little knowledge as possible about other classes. Do mind that this is not an example of best-practices, merely a little experiment of mine.
In this project is that there are three different types of organisms; rock (blue), paper (red) and scissors (green). Naturally if a paper encounters scissors then paper dies. If two organisms of the same type (i.e. two papers) encounter eachother, another organism of the same type will be born.
Check it out by clicking the image below, source-code is available as well. You can toggle the visualisation of the grid by hitting the space-bar.
Oh, and sorry for being too lazy to think of a clever name

Comments
Nice experiment! I always end up with alot of the one type and just two of the other types. souldn’t this even out?
dude your site is fuckin KICK ASS!!! simple/elegant/hip…..EARTHY!!!!
kick ass
quote from Arno van Oordt:
Thanks, actually it should and does even out, you just need to give it some time
hi, I watch very closely I have notice that same time when (red) and (blue) is in one screen, blue did not disappear. Nice experiment
You’re paying good attention, I set a limit that prevents a type from being killed if there are only two left. This keeps species from going extinct..
oh!! very interesting..
thanks source open.
I hope to next article..
ok 10x. Good to know
I love it!
Now you can put it into flex and play with charts.
quote from Ruben:
I waited for 3 hour but the sissors are at there maximum and the rest are with 2
Hi,
I just don’t get the AI point in here. Are the individual classes learning movements or strategies over lifetime?
Actually no, at this point I’d probably call it AL, but I guess you’re right.
hey hi may i knw few more of yr such exprimental ideas plz, as i m planning to amke project in AI