Minigames

The laptop includes built-in minigames that you can easily trigger in your own scripts using the provided exports.

Alphabet

  • A sequence of random letters will be displayed on a terminal interface, and the player must type the exact characters before the timer runs out.

params:

  • rounds:number The total number of consecutive rounds the player must complete to win the minigame.

  • keys:number The amount of characters generated in each round that the player needs to type.

  • time:number The time limit (in seconds) the player has to complete each individual round.

returns:

  • result:boolean

Cracker

  • This minigame challenges the player's memory and reaction speed. A random sequence of keys will appear on the screen, and the user must replicate the exact pattern before the timer runs out.

params:

  • keys:number The amount of keys generated in the sequence that the player needs to replicate.

  • time:number The total time limit (in seconds) the player has to complete the minigame

returns:

  • result:boolean true or false

Grid

  • The player must memorize the exact pattern and click the blocks in the same order.

params:

  • steps:number The total number of blocks that will light up in the sequence for the player to memorize and repeat.

returns:

  • result:boolean

Memory

  • A series of different figures or shapes will appear on the screen one by one. For each figure, the player must quickly determine if it is a "New" shape they haven't seen yet, or a "Seen" shape that has already appeared during the current session

params:

  • limit:number The total amount of figures that will be shown to the player during the minigame.

  • time:number The time limit (in seconds) the player has to make a decision (Seen or New) for each figure

returns:

  • result:boolean

Packets

  • A constant "rain" of varied icons (shapes and colors) falls down the screen. A target icon, with a specific color and symbol, is shown as the objective. The player must quickly identify and click on the falling packets that exactly match the target criteria.

params:

  • limit:number The exact quantity of correct packets that the player must successfully click to complete the minigame.

returns:

  • result:boolean

Sniffer

  • The system assigns a specific target payload (a unique shape and color combination). As various nodes pop up and disappear across the grid, the player must quickly intercept (click) the correct targets.

params:

  • limit:number The number of target nodes the player must successfully click and intercept to win the minigame.

returns:

  • result:boolean

Sniper

  • As various random shapes rapidly pop up across the screen, the player must quickly "snipe" (click) the correct targets. Clicking an incorrect figure or letting the timer run out will result in an immediate failure.

params:

  • limit:number The exact quantity of correct target nodes the player must successfully click to complete the minigame.

  • time:number The total time limit (in seconds) the player has to complete the challenge.

returns:

  • result:boolean

Last updated