Stories
Slash Boxes
Comments
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)

Ovid
  (email not shown publicly)
http://publius-ovidius.livejournal.com/
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)

Monday October 31, 2005
12:58 PM

Words implemented

[ #27392 ]

Games::World now has words implemented. The basic process of creating a world feels rather religious in nature as the following steps must occur in the following order:

  1. In the beginning, Ovid created the words
  2. Then He divided place from place and gave them names
  3. Then He populated the land with all sorts of Wondrous Things

You can't create a thing unless you have a place (room) to put it and if you haven't named it properly, everything dies a horrible death. Even synonyms are handled correctly now. My next tasks will be to add paths from room to room and after that to add a player. Now it's the work week, though, so I suspect I won't get much done for the next few days.

After the player, I'll probably take a stab at the natural language interface and create a small area to wander and play with the stuff there. From there, I'll have to start adding "monsters". As I want them to move about and behave roughly intelligently, I am thinking about giving them very, very tiny neural networks. They'll have to be small pre-tuned networks, though, as Perl is not going to be fast enough to teach them.

I also have about 91% test coverage (yup. That includes POD).

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • The basic process of creating a world feels rather religious in nature

    But playing god is what programmers always do, no?

    I think this is in fact a basic allure of programming: that rather than creating artifacts in the existing cosmos, the way everyone who creates something physical does, programmers create universes of their own. They’re usually extremely limited universes that consist of few entities with complex interactions, mind you, but universes nonetheless. (The cosmos works the other w

  • I haven't looked at the source myself, but Mooix [mooix.net] has a natural language processor for commands. I think much of the NLP is written in Perl, as well. The development of the whole has dropped off from what I can tell, but the NLP might be in good shape. I've never used it, it was just something that caught my attention once.