Mini Games
🎮 MINI GAMES – 10 games in one! 🎉
PlayOverview
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
- AI Opponents – Bots that fight players in the Arena, plus a chess AI with three difficulty levels (easy, medium, hard).
- 10 Mini Games – Ten different games in one place, each with its own rules and win conditions.
- Live Leaderboard – Rankings update in real time so players can compete with each other.
- Events & Rewards – Recurring events and challenges where players earn rewards and achievements.
- Save System – DataStore saves each player's Stats, Rewards, Auras, Clicks and much more between sessions.
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
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.