I design (and end up writing) a system in Django, which consists of two main components:
- Game manager: this is essentially a data entry element. Reliable (non-public) users will enter information about the game system, for example, parameters that players may have. The interface for this is just the Django admin console, and it does nothing but store information.
- Character Manager: This is the consumer of the above data. Public users will create characters in the role systems defined above by pulling on the parameters entered by these trusted users. This is a standalone application in the project from the point of view of Django.
There is one part that I donβt know where to put, and these are the βrulesβ that are associated with each game. In fact, for each game placed in the first application, there is a set of preconditions, restrictions and other business logic specific to this game. (There is also a similarly structured logic that will be common to all games.) The logic will be encoded in Python, not entered by the user.
This logic is used in the process of checking a specific character, but is associated with a specific game and must be dynamically changed. Is this a standalone application or should it be attached to the forms of the Character Manager? Or could it be?
This is the first Django application that I built from scratch (instead of chewing on someone else's code), and I'm new to the Python philosophy to download, so I'm all ears for that.
Thanks in advance.
source share