Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: A small Deity AI class system

by roboticus (Chancellor)
on Nov 05, 2017 at 15:57 UTC ( #1202780=note: print w/replies, xml ) Need Help??


in reply to A small Deity AI class system

holyghost:

A few suggestions:

  • You should describe what your code is intended to be used for.
  • It's easy to learn POD markup, so I'd suggest adding some documentation as needed.
  • Rather than post it as a single block of code, you should split it into the various source files so potential users have a chance to actually be able to use your module(s). Be sure to put the source file name in the blocks, so they can be saved with a proper name. Something like:
    File HollyGameAI/AIInterface.pm:
    # HollyGameAI/AIInterface.pm ### Copyright (C) The Holy Ghost 2017 ### This program is released under the GPL 3.0 and Artistic License 2. +0. package ...

    File HollyGameAI::Factory.pm:
    # HollyGameAI/AIInterface.pm ### Copyright (C) The Holy Ghost 2017 ### This program is released under the GPL 3.0 and Artistic License 2. +0. package ...
  • You should have included some test and/or demonstration code to give people a feel for what it can and cannot do.

...roboticus

When your only tool is a hammer, all problems look like your thumb.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1202780]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2018-02-19 06:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (258 votes). Check out past polls.

    Notices?