🎯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 with difficulty-based presets. Individual game mechanics (speeds, sizes, timings) are automatically configured based on the selected difficulty level. You can tweak the default config for each game in the config files.

Standard Export Parameters

All games support these common parameters:

  • difficulty: Preset difficulty level (range varies by game)

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

  • progressiveDifficulty: Whether difficulty increases each stage (true/false)

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

Aim It

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

Export Usage:

exports['tgg-minigames']:AimIt({
    difficulty = 1,              -- Difficulty level (1-3): 1=Easy, 2=Medium, 3=Hard
    numberOfStages = 1,          -- Number of stages to complete (1-10)
    progressiveDifficulty = true, -- Whether difficulty increases each stage
    instantFail = false          -- Whether missing a target instantly fails the game
})

Preview Image:


Match It

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

Export Usage:

exports['tgg-minigames']:MatchIt({
    difficulty = 1,              -- Difficulty level (1-3): 1=Easy, 2=Medium, 3=Hard
    numberOfStages = 1,          -- Number of stages to complete (1-10)
    progressiveDifficulty = true, -- Whether difficulty increases each stage
    instantFail = false          -- Whether missing tiles instantly fails the game
})

Preview Image:


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

Export Usage:

exports['tgg-minigames']:DestroyLinks({
    difficulty = 1,              -- Difficulty level (1-3): 1=Easy, 2=Medium, 3=Hard
    numberOfStages = 1,          -- Number of stages to complete (1-10)
    progressiveDifficulty = true, -- Whether difficulty increases each stage
    instantFail = false          -- Whether wrong clicks instantly fail the game
})

Preview Image:


Get It

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

Export Usage:

exports['tgg-minigames']:GetIt({
    difficulty = 1,              -- Difficulty level (1-3): 1=Easy, 2=Medium, 3=Hard
    numberOfStages = 1,          -- Number of stages to complete (1-10)
    progressiveDifficulty = true, -- Whether difficulty increases each stage
})

Preview Image:


In Time

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

Export Usage:

exports['tgg-minigames']:InTime({
    difficulty = 1,              -- Difficulty level (1-3): 1=Easy, 2=Medium, 3=Hard
    numberOfStages = 1,          -- Number of stages to complete (1-10)
    progressiveDifficulty = true, -- Whether difficulty increases each stage
    instantFail = false          -- Whether missing blocks instantly fails the game
})

Preview Image:


2047+1

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

Export Usage:

exports['tgg-minigames']:Game20471({
    difficulty = 1,              -- Difficulty level (1-3): 1=Easy, 2=Medium, 3=Hard
    numberOfStages = 1,          -- Number of stages to complete (1-10)
    progressiveDifficulty = true, -- Whether difficulty increases each stage
})

Preview Image:


Typix

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

Export Usage:

exports['tgg-minigames']:Typix({
    difficulty = 1,              -- Difficulty level (1-3): 1=Easy, 2=Medium, 3=Hard
    numberOfStages = 1,          -- Number of stages to complete (1-10)
    progressiveDifficulty = true, -- Whether difficulty increases each stage
})

Preview Image:


Math

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

Export Usage:

exports['tgg-minigames']:Math({
    difficulty = 1,              -- Difficulty level (1-3): 1=Easy, 2=Medium, 3=Hard
    numberOfStages = 1,          -- Number of stages to complete (1-10)
    progressiveDifficulty = true, -- Whether difficulty increases each stage
    instantFail = false          -- Whether wrong answers instantly fail the game
})

Preview Image:


Echo

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

Export Usage:

exports['tgg-minigames']:Echo({
    difficulty = 1,              -- Difficulty level (1-3): 1=Easy, 2=Medium, 3=Hard
    numberOfStages = 1,          -- Number of stages to complete (1-10)
    progressiveDifficulty = true, -- Whether difficulty increases each stage
})

Preview Image:


Sequence

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

Export Usage:

exports['tgg-minigames']:Sequence({
    difficulty = 1,              -- Difficulty level (1-3): 1=Easy, 2=Medium, 3=Hard
    numberOfStages = 1,          -- Number of stages to complete (1-10)
    progressiveDifficulty = true, -- Whether difficulty increases each stage
    instantFail = false          -- Whether wrong moves instantly fail the game
})

Preview Image:


Dash

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

Export Usage:

exports['tgg-minigames']:Dash({
    difficulty = 1,              -- Difficulty level (1-3): 1=Easy, 2=Medium, 3=Hard
    numberOfStages = 1,          -- Number of stages to complete (1-10)
    progressiveDifficulty = true, -- Whether difficulty increases each stage
})

Preview Image:


Flappy

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

Export Usage:

exports['tgg-minigames']:Flappy({
    difficulty = 1,              -- Difficulty level (1-3): 1=Easy, 2=Medium, 3=Hard
    numberOfStages = 1,          -- Number of stages to complete (1-10)
    progressiveDifficulty = true, -- Whether difficulty increases each stage
})

Preview Image:


To The Sky

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

Export Usage:

exports['tgg-minigames']:ToTheSky({
    difficulty = 1,              -- Difficulty level (1-3): 1=Easy, 2=Medium, 3=Hard
    numberOfStages = 1,          -- Number of stages to complete (1-10)
    progressiveDifficulty = true, -- Whether difficulty increases each stage
})

Preview Image:


Pathing

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

Export Usage:

exports['tgg-minigames']:Pathing({
    difficulty = 1,              -- Difficulty level (1-3): 1=Easy, 2=Medium, 3=Hard
    numberOfStages = 1,          -- Number of stages to complete (1-10)
    progressiveDifficulty = true, -- Whether difficulty increases each stage
})

Preview Image:


A Mess

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

Export Usage:

exports['tgg-minigames']:AMess({
    difficulty = 1,              -- Difficulty level (1-3): 1=Easy, 2=Medium, 3=Hard
    numberOfStages = 1,          -- Number of stages to complete (1-10)
    progressiveDifficulty = true, -- Whether difficulty increases each stage
})

Preview Image:


Mines

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

Export Usage:

exports['tgg-minigames']:Mines({
    difficulty = 2,              -- Difficulty level (1-3): 1=Easy, 2=Medium, 3=Hard
    numberOfStages = 5,          -- Number of stages to complete (1-10)
    progressiveDifficulty = true, -- Whether difficulty increases each stage
})

Preview Image:


On The Dot

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

Export Usage:

exports['tgg-minigames']:OnTheDot({
    difficulty = 3,              -- Difficulty level (1-3): 1=Easy, 2=Medium, 3=Hard
    numberOfStages = 4,          -- Number of stages to complete (1-10)
    progressiveDifficulty = true, -- Whether difficulty increases each stage
})

Preview Image:


Crack It

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

Export Usage:

exports['tgg-minigames']:CrackIt({
    difficulty = 2,              -- Difficulty level (1-3): 1=Easy, 2=Medium, 3=Hard
    numberOfStages = 4,          -- Number of stages to complete (1-10)
    progressiveDifficulty = true, -- Whether difficulty increases each stage
})

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:

exports['tgg-minigames']:TowerOfHanoi({
    difficulty = 3,              -- Difficulty level (1-3): 1=Easy, 2=Medium, 3=Hard
    numberOfStages = 3,          -- Number of stages to complete (1-10)
    progressiveDifficulty = true, -- Whether difficulty increases each stage
})

Preview Image:


Sequence Memory

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

Export Usage:

exports['tgg-minigames']:SequenceMemory({
    difficulty = 2,              -- Difficulty level (1-3): 1=Easy, 2=Medium, 3=Hard
    numberOfStages = 6,          -- Number of stages to complete (1-10)
    progressiveDifficulty = true, -- Whether difficulty increases each stage
})

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:

exports['tgg-minigames']:IveSeenIt({
    difficulty = 3,              -- Difficulty level (1-3): 1=Easy, 2=Medium, 3=Hard
    numberOfStages = 5,          -- Number of stages to complete (1-10)
    progressiveDifficulty = true, -- Whether difficulty increases each stage
})

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:

exports['tgg-minigames']:Numbers({
    difficulty = 2,              -- Difficulty level (1-3): 1=Easy, 2=Medium, 3=Hard
    numberOfStages = 5,          -- Number of stages to complete (1-10)
    progressiveDifficulty = true, -- Whether difficulty increases each stage
    instantFail = false          -- Whether wrong moves instantly fail
})

Preview Image:


Unlocked

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

Export Usage:

exports['tgg-minigames']:Unlocked({
    difficulty = 3,              -- Difficulty level (1-3): 1=Easy, 2=Medium, 3=Hard
    numberOfStages = 4,          -- Number of stages to complete (1-10)
    progressiveDifficulty = true, -- Whether difficulty increases each stage
    instantFail = false          -- Whether wrong attempts instantly fail
})

Preview Image:


Stick It

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

Export Usage:

exports['tgg-minigames']:StickIt({
    difficulty = 2,              -- Difficulty level (1-3): 1=Easy, 2=Medium, 3=Hard
    numberOfStages = 5,          -- Number of stages to complete (1-10)
    progressiveDifficulty = true, -- Whether difficulty increases each stage
})

Preview Image:


Breach Protocol

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

Export Usage:

exports['tgg-minigames']:BreachProtocol({
    difficulty = 3,              -- Difficulty level (1-3): 1=Easy, 2=Medium, 3=Hard
    numberOfStages = 4,          -- Number of stages to complete (1-10)
    progressiveDifficulty = true, -- Whether difficulty increases each stage
})

Preview Image:


Data Stream

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

Export Usage:

exports['tgg-minigames']:DataStream({
    difficulty = 2,              -- Difficulty level (1-3): 1=Easy, 2=Medium, 3=Hard
    numberOfStages = 5,          -- Number of stages to complete (1-10)
    progressiveDifficulty = true, -- Whether difficulty increases each stage
    instantFail = false          -- Whether wrong connections instantly fail
})

Preview Image:


Electrical Box

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

Export Usage:

exports['tgg-minigames']:ElectricalBox({
    difficulty = 3,              -- Difficulty level (1-3): 1=Easy, 2=Medium, 3=Hard
    numberOfStages = 4,          -- Number of stages to complete (1-10)
    progressiveDifficulty = true, -- Whether difficulty increases each stage
})

Preview Image:


Pipe Pressure

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

Export Usage:

exports['tgg-minigames']:PipePressure({
    difficulty = 2,              -- Difficulty level (1-3): 1=Easy, 2=Medium, 3=Hard
    numberOfStages = 5,          -- Number of stages to complete (1-10)
    progressiveDifficulty = true, -- Whether difficulty increases each stage
})

Preview Image:


Keys

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

Export Usage:

exports['tgg-minigames']:Keys({
    difficulty = 3,              -- Difficulty level (1-3): 1=Easy, 2=Medium, 3=Hard
    numberOfStages = 5,          -- Number of stages to complete (1-10)
    progressiveDifficulty = true, -- Whether difficulty increases each stage
    instantFail = false          -- Whether wrong keys instantly fail
})

Preview Image:


Fingerprint

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

Export Usage:

exports['tgg-minigames']:Fingerprint({
    difficulty = 2,              -- Difficulty level (1-3): 1=Easy, 2=Medium, 3=Hard
    numberOfStages = 4,          -- Number of stages to complete (1-10)
    progressiveDifficulty = true, -- Whether difficulty increases each stage
})

Preview Image:


Breaker

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

Export Usage:

exports['tgg-minigames']:Breaker({
    difficulty = 3,              -- Difficulty level (1-3): 1=Easy, 2=Medium, 3=Hard
    numberOfStages = 5,          -- Number of stages to complete (1-10)
    progressiveDifficulty = true, -- Whether difficulty increases each stage
})

Preview Image:


Export Parameters Guide

Standard Parameters

All games support these four parameters:

  • difficulty: Controls the overall challenge level

    • Range varies by game: Some support 1-3

    • 1 = Easy: Beginner-friendly settings with more time, larger targets, slower speeds

    • 2 = Medium: Moderate challenge for average players

    • 3 = Hard: Challenging for experienced players

    • 4 = Very Hard: High difficulty requiring skill (where supported)

    • 5 = Extreme: Maximum challenge for experts (where supported)

  • numberOfStages: How many levels/stages the player must complete

    • Range: 1-10 stages or more

    • Lower numbers: Quick activities (1-3 stages)

    • Higher numbers: Extended gameplay sessions (5-10 stages)

  • progressiveDifficulty: Whether difficulty increases with each stage

    • true: Each stage becomes progressively harder (default)

    • false: All stages use the same base difficulty

  • instantFail: Whether certain failures immediately end the game

    • true: Game ends immediately on critical failures

    • false: Penalties applied but game continues (default for most games)

How Difficulty Works

Each game has predefined configurations for each difficulty level that control:

  • Timing: Time limits, reaction windows, animation speeds

  • Complexity: Number of elements, grid sizes, sequence lengths

  • Precision: Target sizes, alignment requirements, accuracy needed

  • Penalties: Time penalties for mistakes, lives lost per error

Integration Examples

Quick Job Activity:

local result = exports['tgg-minigames']:Fingerprint({
    difficulty = 1,
    numberOfStages = 2,
    progressiveDifficulty = false,
    instantFail = false
})

print("Minigame result: ", result)

Integration Tips

  1. Difficulty Scaling: Start with lower difficulties and increase based on player progression

  2. Time Management: Consider that higher difficulties take longer to complete

  3. Player Feedback: Monitor completion rates to adjust difficulty settings

  4. Context Matters: Use instantFail = true for high-stakes scenarios, false for casual activities

Support

For additional configuration options, custom implementations, or support:

  • 💬 Discord: https://discord.gg/teamsgg

  • 💰 Purchase: https://teamsgg.dev/

Last updated