← Back to projects

Mini Games

🎮 MINI GAMES – 10 games in one! 🎉

Play

Overview

Mini Games is a collection of 10 unique games bundled into a single Roblox experience. You play each game to earn points, unlock new content and a place on the leaderboard. My Goal was to create a fun and engaging experience for players of all ages featuring a variety of games and challenges without any pay-to-win mechanics.

What I built

Code Sample

BotConfig.lua
-- AI Opponents
local FFA_TOTAL = 5        -- fighters in Free For All (humans + bots)
local TDM_PER_TEAM = 4     -- fighters per team in Team Deathmatch
local CTF_PER_TEAM = 4     -- fighters per team in Capture The Flag
local HP, DAMAGE, SPEED = 110, 14, 14
local HIT_COOLDOWN, RANGE, WINDUP = 1.0, 6, 0.22
local SIGHT = 70 -- how far a bot can see (walls block the view)
local NAMES = { "Rex", "Pixel", "Blaze", "Nova", "Turbo", "Echo", "Zap", "Milo", "Luna", "Ace", "Bolt", "Kiwi" }
local PALETTE = {
    Color3.fromRGB(139, 92, 246), Color3.fromRGB(236, 72, 153), Color3.fromRGB(250, 204, 21),
    Color3.fromRGB(56, 189, 248), Color3.fromRGB(74, 222, 128), Color3.fromRGB(251, 146, 60),
}
                    local TEAM_COLORS = { Red = Color3.fromRGB(239, 68, 68), Blue = Color3.fromRGB(59, 130, 246) }

Screenshots

Chess against AI
Chess AI with three difficulty levels
Arena fight with bots
Arena bots fighting in Team Deathmatch
Quest and Rewards
Quests and Rewards system
Leaderboard
Leaderboard showing top players

A Problem I had

A Big Problem I had was implementing the AI behavior for the bots in the game. They were not behaving as expected, and it took a lot of time to debug and fix the issues. Either they got stuck in a House, ran against a Wall, failed to move forward or attacked one player all together at one time.