Business Logic – Using the Term in Non-Business Applications

business-logicterminology

Suppose there is a part of program that does not deal with initialisation, input, output. It just specifies what should be done, what is allowed or not. I use the term "Business logic" for this. But application can have nothing to do with business.

Example: a game. Suppose there are following parts:

  1. Input processing
  2. Collision detection, physics, player control
  3. Rendering the output
  4. AI – How do NPCs attain the specified goal.
  5. "Business logic" – what happens when player touch certain objects. What types of NPCs are there and what they do when …, concepts of "lives", "ammo", "levels", "score".

But it is not business, it's just a game. Wikipedia is not clear about it.

Best Answer

If you're feeling weird about it or you're getting push back from others, try using the term "Domain Logic" instead.

Related Topic