Games & difficulty ​
np_minigames ships 19 games in six categories. Each one came from an np_* resource (or was designed here where the resource only had an idea, a mockup or a chance roll) and keeps that resource's numbers.
| Game | id | Category | Input | From |
|---|---|---|---|---|
| Hex hack | hexhack |
Hacking | mouse + keyboard | np_banking |
| Pattern lock | pattern |
Hacking | mouse + keyboard | np_passwords |
| Code cracker | crack |
Hacking | keyboard | np_passwords |
| Thermite | thermite |
Breach | mouse + keyboard | np_banking |
| Drill | drill |
Breach | keyboard | np_banking |
| Lockpick | lockpick |
Breach | mouse + keyboard | np_inventory |
| Wires | wires |
Breach | mouse + keyboard | np_banking |
| Battering ram | ram |
Breach | keyboard | np_doors |
| Skill ring | skillcheck |
Timing | keyboard | np_prison |
| Torque check | torque |
Timing | keyboard | np_mechanic |
| Power meter | power |
Timing | keyboard | np_fishing |
| Strike | strike |
Timing | keyboard | np_fishing |
| Balance | balance |
Control | keyboard | np_drugs |
| Reel | reel |
Control | keyboard | np_fishing |
| Swing meter | swing |
Sport | mouse + keyboard | np_golf |
| Putting | putt |
Sport | mouse + keyboard | np_golf |
| Steady aim | sway |
Sport | mouse + keyboard | np_darts |
| Cue stroke | stroke |
Sport | mouse + keyboard | np_billiards |
| Wand sweep | sweep |
Search | mouse + keyboard | metal scanner |
Mechanics and numbers were taken from the source resources: np_banking's xorshift32 puzzles, np_prison's ring levels,
np_mechanic's 1800 ms torque needle, np_fishing's fight step, np_drugs' heat / simmer / stir / pressure / trim presets,
np_golf's 3-click meter, np_darts' figure-of-eight sway. Five games existed only as ideas, mockups or chance rolls and
were designed here: lockpick, wires, sweep, the battering ram ram (for np_doors' police raids) and the
interactive mode of crack (the passive original is kept as
mode = 'auto').
The game card ​
Every game opens as one frosted card: a glossy tile with the game's icon, the label and subtitle the caller passed, a clock, the board and key hints. The card claims the np_hud zones under it while it is open (np_hud) and the phone is put away. When the game ends, the verdict (grade and score, or the reason) stays on the card for 1.6 s.
| Hex hack | Wires |
|---|---|
![]() |
![]() |
| Torque check | Reel |
![]() |
![]() |
Difficulty ​
Every game has four presets: easy, medium, hard and expert (or 1..4). A call without a difficulty uses
Config.Games[id].difficulty, then Config.Difficulty.default (medium).
How the params are built ​
Each game declares its params with a type, a range and a scale. The engine builds them in this order:
- The param's default.
- The difficulty preset.
Config.Games[id].params[difficulty](per-server overrides, see Configuration).- The caller's overrides,
opts.<key>oropts.params.<key>, clamped to the declared range. Unknown keys are ignored. - Params marked time (seconds, windows, zone widths) are multiplied by
Config.Difficulty.timeScale; params marked speed are divided by it. - Assist, when the player turned it on, the server allows it and the caller didn't pass
noAssist: the time and speed params are scaled again byConfig.Accessibility.assistScale, then the game's own assist rule applies.
The param tables on the category pages are generated from the game files (shared/games/<id>.lua). A preset column
shows only the values that preset sets.
Result and grade ​
Every game ends with a result: success, a score from 0 to 1 (centre hits, heat left, care,
accuracy …), a grade and game-specific stats.
| Grade | Score |
|---|---|
perfect |
≥ 0.95 |
great |
≥ 0.8 |
good |
≥ 0.5 |
pass |
a win below 0.5 |
fail |
the game was lost |



