I'm trying to understand the reason why you built this thing. Your scratchpad says that you're trying to build a way to model the rules for a "popular strategy game". So, your goal is to create a way to build a referee that can be handed a gamestate and a prospective move and it tells you if the move is legal or not? Please describe your initial impetus a bit more.
Second, where is the code? Or, if you cannot provide that, please provide a complete synopsis for a simple well-known game like Tic-tac-toe or Chess or Go. Give us something that we can work with to see what it is you're trying to do. Your documentation leaves me wondering "Why on earth would I use this?"
Third, is there any prior art (other than XML) which provides this capability? Is Perl5 really the language you should be writing the engine in? Maybe a type-inferencing language like ML would be more appropriate. Maybe a rules-based language like Prolog (q.v. AI::Prolog) would be even better.
My criteria for good software:
- Does it work?
- Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.