Skip to content

Arcade & phone app ​

Players can practise every game: on the big screen with /minigames, from the np_menu radial, or in the Arcade app on np_phone. A practice run is a normal server-validated session (marked as practice), so arcade scores can be trusted.

The arcade ​

Arcade

  • Home-screen grid. Every game as a glossy tile, grouped by category (Hacking, Breach, Timing, Control, Sport, Search). Games switched off in Config.Games (enabled or arcade = false) are hidden.
  • Detail panel. The game's description, where it came from, its input (keyboard or mouse + keyboard), a difficulty picker (easy, medium, hard, expert), personal stats (best points, wins, best streak) and the leaderboard.
  • Leaderboard. The top 10 per game from practice runs, with time and difficulty; points are weighted by difficulty (Config.Arcade.leaderboard).
  • Settings (gear): Assist (wider windows and more time, if the server allows it), reduced motion (fewer flashes and shakes) and sounds. They are saved on the player's PC (KVP) and used by every minigame they play. Assist is also sent to the server, because it changes the rules there.
  • Open and close: /minigames (Config.Arcade.command, optional key mapping in Config.Arcade.key), the Arcade item in the np_menu radial (on foot, Config.Integrations.menuRadial), Esc to close. Two practice runs are at least Config.Arcade.cooldownMs apart.
Liquid Glass with a server brand colour German
Liquid Glass German

While the arcade is open, np_minigames claims the np_hud zones under it and the phone is put away when a run starts.

Arcade app in np_phone ​

Arcade app

With np_phone running and Config.Arcade.enabled and Config.Phone.enabled on, np_minigames registers the Arcade app (category Games in the App Store, installed on every phone by default). It is the practice arcade on the phone, and follows the phone's Liquid Glass setting (live, through np_phone's app SDK):

  • Home: runs, win rate and perfects, then every game by category with the player's best points (or New).
  • Game: description, difficulty picker, Your stats (best, wins, best streak, the best run's time and difficulty) and the top 10.
  • Play: the phone goes away and the practice run starts after Config.Phone.playDelayMs. A refusal (cooldown, busy) arrives as a toast.
  • New personal best: a phone notification after a practice run that beat it (Config.Phone.notifyBest). Tapping it opens the game's page.
  • Settings: Assist (greyed out with Turned off by the server when it isn't allowed), reduce motion and sounds, the same preferences the big-screen arcade uses. About shows the number of games, whether leaderboards are on and the arcade command.
Home Game Settings
Home Game Settings
Liquid Glass German Assist not allowed
Home, Liquid Glass Game, German Settings without Assist

The app is registered again whenever np_phone or np_minigames starts, and when Arcade.enabled changes live in np_admin. App id, label, icon and tint are in Config.Phone.

Stats ​

Stats are kept per character and game in np_minigames_stats (oxmysql; in memory without it): plays and wins, practice plays and wins, perfects, best points with their difficulty and time, the current and the best streak. Config.Stats.recordSecure decides whether games started by other resources count too (they never reach the leaderboard, which is practice only). Read them with GetStats(src).