Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Ovid (2709)

  (email not shown publicly)
AOL IM: ovidperl (Add Buddy, Send Message)

Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.

Journal of Ovid (2709)

Friday April 16, 2004
11:34 AM

The God of Widge

[ #18362 ]

Trying to explore some alternate solutions to the AI::Life::World problem, I've started creating a much simpler version called Widge. This is a procedural script with only one AI agent type called a "widge." Widges run around and if they run over a blue light, they gain energy and if they run over a yellow light, they lose energy. They also lose a small amount of energy just moving. If they gain enough energy, they reproduce and possibly introduce a random mutation to their genes.

The intent is to create a small "Widge World" where someone can watch widges evolve until they're better able to find blue lights and avoid yellow lights. I'll possibly build in a tweaking mechanism later. Hopefully, this should allow me to focus efforts on the eyes and brains, the two most problematic areas of the AI. However, I am moving to an upstairs apartment, so I've got about a week of downtime before I can think about serious programming again.

Update: On the off chance that anyone's interested, I can send a really ugly tarball of the current project. It's not organized, but it has the original C code (with makefile), the procedural Perl version and the OO version (complete with memory leak). Shoot me an email at curtis_ovid_poe. That's a Yahoo! email.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.