Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

10
  • perhaps steve-yegge.blogspot.co.uk/2008/10/… Commented Oct 22, 2012 at 11:54
  • 2
    I was actually thinking about exactly this type of problem this morning (not related to RPG, but rules processing engines) and trying to think of non-state machine approaches to rules processing and how combinatory parsers are so effective at completing a task usually done by state machines. I think there is a rich possibility for monadic combinators to approach most state machine problems more cleanly. That may sound like gibberish but I think there's something to this idea, just my 2 cents. RPG systems are a classic fun practice problem I like coding, perhaps I'll try this approach out. Commented Oct 22, 2012 at 15:43
  • 1
    @jk. that article reminds me of a pattern I've liked for command line program argument parsing, using a dictionary of Funcs which initialize the program state based on the arguments as keys to the dictionary. Surprised I never found that post from Yegge before, very cool, thanks for pointing it out. Commented Oct 22, 2012 at 15:49
  • 5
    I'm not really sure why this was closed as "not a real question". Its a higher level "whiteboard" question about how to architect an application that has a specific set of requirements (RPG rules system). I've voted to reopen it, but it will still need 4 other reopen votes to get reopened. Commented Oct 22, 2012 at 19:50
  • 3
    Honestly I thought this site is exactly for this kind of conceptual questions while stackoverflow.com is thought for code / implementation problems. Commented Oct 23, 2012 at 17:30