game-loop

Installation
SKILL.md

Roblox Game Loop Systems

When implementing round-based multiplayer games, follow these patterns for smooth game flow.

Game State Machine

Core States

local GameState = {
    WAITING = "Waiting",      -- In lobby, waiting for players
    STARTING = "Starting",    -- Countdown before game starts
    PLAYING = "Playing",      -- Game in progress
    INTERMISSION = "Intermission", -- Between rounds, showing results
    ENDING = "Ending"         -- Game ending, cleanup
}

State Manager

Installs
1
First Seen
Jan 30, 2026
game-loop — taozhuo/game-dev-skills