Untitled AI Project 02
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
March 26th, 2008 | Quote
Actually no, at this point I’d probably call it AL, but I guess you’re right.
March 7th, 2008 | Quote
Hi,
I just don’t get the AI point in here. Are the individual classes learning movements or strategies over lifetime?
December 6th, 2007 | Quote
I waited for 3 hour but the sissors are at there maximum and the rest are with 2
December 6th, 2007 | Quote
I love it!
Now you can put it into flex and play with charts.
December 6th, 2007 | Quote
ok 10x. Good to know
December 6th, 2007 | Quote
oh!! very interesting..
thanks source open.
I hope to next article..
December 6th, 2007 | Quote
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..
December 6th, 2007 | Quote
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
December 6th, 2007 | Quote
Thanks, actually it should and does even out, you just need to give it some time
December 5th, 2007 | Quote
dude your site is fuckin KICK ASS!!! simple/elegant/hip…..EARTHY!!!!
kick ass
December 5th, 2007 | Quote
Nice experiment! I always end up with alot of the one type and just two of the other types. souldn’t this even out?