Supervisor Based Programming

For new developers to Jinx 8, most will be confused on how to fully utilize the power of the Jinx 8 environment. For you to understand where Jinx 8 scripts extracts its abilities from, we must first show where most Jinx 8 scripts insert themselves.

Shown below is a diagram of a normal game instance:

Normal Game Instance Diagram

Now, we will show a diagram after a Jinx 8 script fully utilizing Jinx 8's supervisor programming model:

Jinx 8 Instance Diagram

As you can see, Jinx 8 extracts its abilities from being able to intercept API calls and event invocations from both the native game engine, and game scripts. Once an interception function is called, Jinx 8 scripts have full control over arguments, return values, and can modify calls as needed by that script. This allows Jinx 8 scripts to act as supervisors of game logic, alas the term 'supervisor-based programming'.

Supervisor based programming allows a powerful programming model much unlike most other forms of systems programming. If the native game engine were the OS kernel and game scripts were user mode programs, Jinx 8 scripts would act as the 'drivers' for such a system under this analogy.