🎯Exports and Usage

This document provides usage examples and descriptions for all available minigames in the TeamsGG Minigames script.

Important: All games follow a standardized export pattern. Individual game mechanics (speeds, sizes, timings) are configurable via the export. You can tweak the default config for each game in the config files.

Standard Export Parameters

Common parameters:

  • numberOfStages: Number of stages to complete (1-10 or more)

  • instantFail: Whether certain failures instantly end the game (true/false)

Balance

Keep the needle balanced by pressing Q and E - don't let it fall into the red zones!

Export Usage:

-- Balance
exports['tgg-minigames']:Balance({
    greenSize = 35,         -- Size of green (safe) zone as percentage (0-100)
    yellowSize = 35,        -- Size of yellow (warning) zone as percentage (0-100)
    redSize = 30,           -- Size of red (fail) zone as percentage (0-100)
    -- Note: greenSize + yellowSize + redSize must equal 100
    
    driftForce = 35,        -- Drift force intensity: lower = easier, higher = harder
    pushStrength = 55,      -- Q/E key push strength: lower = less control, higher = more control
    gameTime = 20           -- Time in seconds to survive without hitting red zone
})

Preview Image:


Circle Click

Press the shown key when the rotating segment enters the target zone!

Export Usage:

Preview Image:


Lockpick

Simplified lockpicking - one circle, find the sweet spot by feeling the shake.

Export Usage:

Preview Image:


Masher

Key-spamming game - fill the circle by pressing the shown key as fast as possible!

Export Usage:

Preview Image:


Rhythm Click

A rhythm-based skill check game. Click circles in order AFTER they fully close.

Export Usage:

Preview Image:


Slider

Precision timing game - click when the correct number passes through the center point!

Export Usage:

Preview Image:


Skill Bar

A timing-based skill check game where you click when a moving segment reaches the target zone.

Export Usage:

Preview Image:


Circle Zones

A timing-based skill check game where you click when a moving segment reaches the target zone.

Export Usage:

Preview Image:


Progress Timing

Precision timing game - hit points as the progress bar passes through them. Perfect timing required!

Export Usage:

Preview Image:


Arrows

Fast-paced directional memory game - press arrow keys or WASD matching the bubble directions from left to right!

Export Usage:

Preview Image:


Reach

A maze navigation game where you must guide a circle through a maze with limited visibility, avoiding walls while racing against time.

Export Usage:

Preview Image:


Cut It

Move slowly with a tool to reveal marked cables, then cut them carefully.

Export Usage:

Preview Image:


Pairs

A memory game where you must find matching pairs icons by flipping cards and remembering their positions.

Export Usage:

Preview Image:


Locked

Rotate through concentric circles to find and align specific sections.

Export Usage:

Preview Image:


Aim It

Click targets that appear randomly on screen. Hit all targets before time runs out.

Export Usage:

Preview Image:


Match It

Rotate 4-color circle with arrow or A/D keys. Match incoming tile colors to destroy them all.

Export Usage:

Preview Image:


Hit correct keys to destroy blocks with matching marks. Match left or right directions.

Export Usage:

Preview Image:


Get It

Control the snake with arrow keys or WASD. Collect food to grow and reach the target.

Export Usage:

Preview Image:


In Time

Press keys to destroy falling blocks with matching letters or numbers. Hit the correct key quickly.

Export Usage:

Preview Image:


2047+1

Move tiles with arrow keys. Same numbers merge and double when they touch. Reach the set target..

Export Usage:

Preview Image:


Typix

Guess 5-letter words in 6 tries. Color feedback shows correct letters and positions.

Export Usage:

Preview Image:


Math

Compare two math expressions and choose greater, less, or equal. Calculate fast and in time.

Export Usage:

Preview Image:


Echo

Memorize the number of the colored boxes then answer how many were shown from a specific color.

Export Usage:

Preview Image:


Sequence

Find the symbol sequences shown above in the grid below. Use arrow keys to select the patterns.

Export Usage:

Preview Image:


Dash

Move the arrow left and right to pass through openings in falling lines.

Export Usage:

Preview Image:


Flappy

Click or press Space to make arrow fly up. Navigate through line gaps without hitting them.

Export Usage:

Preview Image:


To The Sky

Jump up the platforms using left and right arrow keys. Reach the top without falling.

Export Usage:

Preview Image:


Pathing

Click the next closest dot to connect them. Follow the path without crossing.

Export Usage:

Preview Image:


A Mess

Drag dots to untangle crossed lines. Move dots around until no lines intersect.

Export Usage:

Preview Image:


Mines

Memorize mine locations during preview then click to find them all before time runs out

Export Usage:

Preview Image:


On The Dot

Click to open deflectors. Match the falling balls to the colored deflector balls.

Export Usage:

Preview Image:


Crack It

Guess the PIN code using color feedback. Green means correct, yellow means wrong position.

Export Usage:

Preview Image:


Tower of Hanoi

Move all disks from the first tower to the last tower. Only smaller disks can go on larger ones.

Export Usage:

Preview Image:


Sequence Memory

Watch boxes light up in sequence then click them back in the same order to advance.

Export Usage:

Preview Image:


I've Seen It

See words appear and choose if you have seen each word before or if it is completely new.

Export Usage:

Preview Image:


Numbers

Click numbers from 1 to the biggest in order on scrambled grid. Click the next number before time runs out.

Export Usage:

Preview Image:


Unlocked

Description: Lock picking simulation where players manipulate tumblers and mechanisms to open various types of locks.

Export Usage:

Preview Image:


Stick It

Place all pins around a rotating circle without collision. Time your shots.

Export Usage:

Preview Image:


Breach Protocol

Select hex codes in matrix by alternating rows and columns. Follow the target sequence.

Export Usage:

Preview Image:


Data Stream

Click flowing data packets on network channels. Decrypt captured packets to progress.

Export Usage:

Preview Image:


Electrical Box

Toggle switches to solve math equations, follow Simon sequences, or balance currents.

Export Usage:

Preview Image:


Pipe Pressure

Rotate pipe pieces to create a flow path from start to end before time runs out.

Export Usage:

Preview Image:


Keys

Press keyboard keys in the correct order shown on screen. Follow the sequence to advance.

Export Usage:

Preview Image:


Fingerprint

Match fingerprint sections across 5 rows by rotating through options to complete it.

Export Usage:

Preview Image:


Breaker

Move the paddle with arrow keys to bounce the ball and destroy blocks. Break all to advance.

Export Usage:

Preview Image:


Stage Sequencing

Stage Sequence lets you chain multiple games into a single staged flow. Each game runs as one stage, with seamless transitions and unified progress bars showing all stages; there is no limit on the number of games you can sequence together. Each game is locked at 1 stage per. It does not matter if you use the export with or without "numberOfStages". It will be ignored. Game = The export name of the game. Each export above uses it. You can directly copy the export config and use it here. !!! Skill checks are NOT supported.

Export Usage:

Cancel Game

Cancel an active minigame and properly clean up the UI state.

Export Usage:

Example:

Notes:

  • This function will return false if there is no active game promise or if the client is not ready

  • When successful, it properly cleans up the game state, hides the UI, and resets NUI focus

  • The game promise will be resolved with false to indicate cancellation

Last updated