Genre teardowns, part 1: simulator, obby, tycoon, tower defense

Tear down four Roblox genres as patterns, not named games, covering the incremental simulator, obby, tycoon and tower defense loops, their economy shapes, retention, monetization, tech risks and what each reuses from Beacon Yard.

Concept lesson, about 55 minutes, 9 steps

By the end you can

  • Tear down a genre into its loop, economy shape, retention hooks, monetization pattern, tech risk and team size
  • Place the simulator, obby, tycoon and tower defense patterns in Roblox's official genre list
  • Model each genre's core number (cost curve, stage pass rate, payback time, wave health) in Luau
  • Map which Beacon Yard systems each genre would reuse, and what it would need instead

Before this: Monetization design players respect

1The teardown card

A teardown answers the same seven questions for every genre. Studios use something like it before greenlighting a game, because it shows the cost of a genre before any code is written.

RowThe question
LoopWhat does a player do every few seconds, every session and every week?
Economy shapeWhere do resources come from and go, and how do the numbers grow?
Retention hooksWhat brings a player back tomorrow, and next week?
Monetization patternWhat do players of this genre usually pay for, and where does it become unfair?
Tech riskWhat breaks first in the code or on a phone?
Team sizeRoughly who you need to ship and keep it alive
Beacon Yard reuseWhich of the yard's systems carry over, and what is missing

Two rules keep a teardown honest. Describe the pattern a genre shares, never one named game, its art or its levels. And treat the team size row as a rough guide, not a fact: it depends on scope more than genre.

Both sidesA genre's conventions is a recipe card.
In the pictureIn Roblox
The ingredients the card listsThe loop, economy shape and retention hooks players of the genre expect
A diner noticing a missing ingredientPlayers leaving in the first minute when a genre promise is broken
The amounts on the cardThe core number each genre tunes: cost curve, pass rate, payback time, wave health, pacing, time to kill, XP curve
Your own seasoningThe one change your game makes that the genre's usual recipe does not have

See the whole analogy cast

A genre is like a recipe card. Players arrive expecting certain ingredients, and they notice when one is missing. The card tells you what must be in the dish; your seasoning is what makes it yours.

Think of it as A recipe card

A teardown of Beacon Yard says: "Every drone streams its position to every player, so bandwidth caps the drone count at 3." Which row is that?

  1. Tech risk
  2. Economy shape
  3. Retention hooks
  4. Team size
Answer

Tech risk. Keeping each finding in its row makes two teardowns comparable side by side.

Open this step in lesson mode · Link to this step · This confused me

2Where these genres sit in Roblox's list

Roblox has an official list: 17 genres with subgenres, set in Creator Hub under the game's Publish Settings and used for the genre sorts on the Charts page1. You can change a game's genre only once every three months, and Roblox may change one it judges inaccurate. Pick the genre that fits the game's primary purpose or core loop.

The four genres in this part map onto it like this:

Our nameOfficial genre and subgenre
Incremental simulatorSimulation: Incremental Simulator (or Idle)
ObbyObby & platformer: Classic Obby, Runner or Tower Obby
TycoonSimulation: Tycoon
Tower defenseStrategy: Tower Defense

Beacon Yard is a short co-op round against a drone, with coins and a small shop. Which official genre fits its core loop best?

  1. Survival, because the drill's goal is to survive a threat until the timer ends
  2. Action, because the loop is fighting a drone in timed rounds
  3. Simulation: Tycoon, because it has a shop
  4. Strategy: Tower Defense, because players defend a beacon
Answer

Survival, because the drill's goal is to survive a threat until the timer ends. Choose by what the player does most, not by a feature on the side. A wrong genre puts the game in front of players who expected a different recipe, and you cannot change it again for three months.

Open this step in lesson mode · Link to this step · This confused me

3The incremental simulator

Loop. Every few seconds: click, swing or walk over something to collect. Every session: spend on an upgrade that multiplies what each action earns. Every week: rebirth, a reset of progress in exchange for a permanent multiplier, and a growing collection (pets, tools, areas).

Economy shape. Costs grow by a fixed factor per level and income grows by a smaller one, so each upgrade takes a little longer than the last. Numbers inflate on purpose; a rebirth resets them before they stop meaning anything. Retention comes from collections, rebirth goals and timed events. Monetization is usually multipliers (a "2x" pass), auto-collect, extra slots and random eggs or crates; the random ones need odds and PolicyService gating if Robux reaches them.

Tech risk. Big numbers: a Luau number is a 64-bit float, which holds whole numbers exactly only up to 2^53, so long-lived games need a plan for numbers past that. Large inventories make profiles heavy. Team: a small team can ship one, but the genre lives on a steady stream of new areas and items.

Two economy shapesLeft: the simulator loop, where collecting buys upgrades that raise income until costs outgrow income at a wall, and a rebirth resets progress for a permanent multiplier. Right: the tower defense loop, where match cash buys towers and resets after each match, while a meta currency saved in the profile unlocks new towers.spendclimbchoosefasterbuydefendkeepunlocksCollectincome per sUpgradecost x1.6Wallwait growsRebirthreset, x bonusMatch cashreset per matchTowersplaced in matchWin wavesearn metaMeta currencysaved in profile
Figure 3.1. A simulator resets one currency on purpose; a tower defense game keeps two and resets one every match.
Luau
-- Incremental simulator: each upgrade multiplies income, each costs more.
local BASE_COST, COST_GROWTH = 10, 1.6
local BASE_INCOME, INCOME_GROWTH = 1, 1.35
 
local function cost(level: number): number
	return math.floor(BASE_COST * COST_GROWTH ^ level)
end
 
local function income(level: number): number
	return BASE_INCOME * INCOME_GROWTH ^ level
end
 
for _, level in { 0, 5, 10, 20 } do
	local seconds = cost(level) / income(level)
	print(string.format("level %2d: costs %7d, earns %6.1f/s, next in %5.0f s", level, cost(level), income(level), seconds))
end
Figure 3.2. Expected output: level 0: costs 10, earns 1.0/s, next in 10 s level 5: costs 104, earns 4.5/s, next in 23 s level 10: costs 1099, earns 20.1/s, next in 55 s level 20: costs 120892, earns 404.3/s, next in 299 s

In the cell, cost grows by 1.6 per level and income by 1.35. Without rebirth, what happens to the wait for the next upgrade as levels rise?

print(1.6 / 1.35)
  1. It grows by about 1.19 times per level, forever, until a reset
  2. It stays the same, because both numbers grow
  3. It shrinks, because income keeps rising
  4. It doubles every level
Answer

It grows by about 1.19 times per level, forever, until a reset. Every incremental game has this wall by design. The rebirth turns it into a choice: keep grinding slowly, or reset for a multiplier and climb faster next time.

Open this step in lesson mode · Link to this step · This confused me

4What a simulator would take from Beacon Yard

Beacon Yard already has most of the plumbing a simulator needs. Coin pads are a collect action, ProfileStore saves the balance, and every coin buy follows one pattern in ShopService: check, trySpend, apply, log a coinSink event:

local function buySpeed(player: Player)
	local profile = DataService.get(player)
	if profile.speedOwned then
		feedback(player, "deny", "Already owned")
		return
	end
	if not DataService.trySpend(player, Config.SPEED_PRICE) then
		feedback(player, "deny", "Not enough coins")
		return
	end
	DataService.setSpeedOwned(player, true)
	DataService.applySpeed(player)
	local balance = DataService.get(player).coins
	Analytics.coinSink(player, Config.SPEED_PRICE, balance, Enum.AnalyticsEconomyTransactionType.Shop.Name, "Speed")
	Analytics.onboarding(player, "FirstPurchase")
	feedback(player, "buy", "Speed")
Figure 4.1

The design pass already added the two biggest simulator pieces. UpgradeService keeps a tier number per upgrade (wrenchTier, shieldTier) priced from a curve in upgrades.json, and the Rebuild from the progression lesson is a rebirth: it resets coins and tiers for a permanent bonus. A simulator would reuse both and turn the one-off Speed purchase into a tier too. What it would need from nothing: a number format for large values, a collection inventory, and many more things to buy.

Both sidesRemember: A genre's conventions is a recipe card.

Which Beacon Yard pieces would carry straight into a simulator?

  1. The trySpend, save and coinSink pattern in ShopService
  2. Coin pads with a respawn timer as the collect action
  3. Economy events for every coin source and sink
  4. UpgradeService's tiers and the Rebuild prestige
  5. The drone's chase logic as the core loop
  6. speedOwned as the way to store a levelled upgrade
Answer

The trySpend, save and coinSink pattern in ShopService; Coin pads with a respawn timer as the collect action; Economy events for every coin source and sink; UpgradeService's tiers and the Rebuild prestige. The buy pattern, the collect action, the economy logging, and the tiers and rebirth from the design pass all carry over. A chase is not a simulator's loop, and a boolean cannot hold a level: the profile needs a number per upgrade, as UpgradeService already stores.

Open this step in lesson mode · Link to this step · This confused me

5The obby

Loop. Every few seconds: jump, land or fall. Every session: reach the next checkpoint. Every week: finish a harder tower or beat a time. Economy shape: often thin. The stage number is the real currency, and coins, if any, buy cosmetics. Retention comes from saved stage progress, a visible count of stages left, timed runs and new stages.

Monetization. The common pattern is a paid skip stage product, plus trails, gravity or speed items and cosmetics. A skip is fair in a solo climb, but it turns into pay-to-win the moment a leaderboard ranks stages reached. Tech risk: character physics and lag on phones (a jump that lands on PC misses on mobile), saving the stage the moment it is reached, and kill parts that trust a client's touch. Team: one strong builder can ship one; the bar is level design, not code.

The number that matters is the pass rate per stage, from a playtest or from funnel events. A stage that loses many more players than its neighbours is a wall: players quit there, not because the obby is hard, but because one jump is unfair.

Predict which stage the code flags before you press Run. Then pretend you fixed that stage: change 120 to 150 and run again. The wall moves, because the players you kept now drop out one stage later.

Luau
-- Players who reached each stage, from a playtest of 200.
local reached = { 200, 188, 175, 120, 112, 104 }
for stage = 2, #reached do
	local passRate = reached[stage] / reached[stage - 1]
	local flag = if passRate < 0.8 then "  <- wall" else ""
	print(string.format("stage %d: %3.0f%% pass%s", stage - 1, passRate * 100, flag))
end
Figure 5.1. Expected output: stage 1: 94% pass stage 2: 93% pass stage 3: 69% pass <- wall stage 4: 93% pass stage 5: 93% pass

Stage 3 passes only 69% of players while its neighbours pass about 93%. What does a designer change first?

  1. Stage 3 itself: watch players fail there and soften the jump that kills them
  2. Sell a skip for stage 3
  3. Make every stage harder, so stage 3 does not stand out
  4. Add a checkpoint at stage 1
Answer

Stage 3 itself: watch players fail there and soften the jump that kills them. Funnel data says where; watching a playtest says why. The analytics lesson's funnel events give you the same numbers from real players.

Open this step in lesson mode · Link to this step · This confused me

6The tycoon

Loop. Every few seconds: money drops from droppers, rides a conveyor and lands in a collector. Every session: walk onto buy buttons that unlock more droppers, walls and machines. Every week: finish the base, then rebirth. Roblox's own genre list describes it as "collecting money from droppers used to upgrade the base"1.

Economy shape. Income rises with each machine, so the order of buttons is the progression. Retention comes from a half-built base you want to finish, rebirths and, often, money that keeps coming while you are away. Monetization: income multipliers, auto-collect, VIP areas and special machines. Tech risk: each player owns a plot with hundreds of parts, so server memory and part counts grow with the player count; plots must be assigned on join and cleared on leave; saving a base means saving what was bought, not the parts. Team: small, with a builder for the machines.

The core number is payback time: a button's cost divided by the income it adds. Buttons that pay back fastest should come first, or the player feels stuck.

Luau
local buttons = {
	{ name = "Dropper 2", cost = 100, adds = 2 }, -- adds: money per second
	{ name = "Conveyor upgrade", cost = 250, adds = 10 },
	{ name = "Wall", cost = 60, adds = 0 },
	{ name = "Dropper 3", cost = 400, adds = 5 },
}
 
local function payback(button): number
	if button.adds <= 0 then
		return math.huge
	end
	return button.cost / button.adds
end
 
-- Sort the buttons so the best payback comes first.
table.sort(buttons, function(a, b)
	return a.cost < b.cost
end)
 
for _, button in buttons do
	print(button.name, payback(button))
end
Figure 6.1. Run it in the lesson view or in the Studio command bar. The lesson view checks it with tests.

Level 1, Apprentice

Challenge

The tycoon-order cell sorts by cost. Fix it so the button that pays back fastest comes first.

Start from
The game at milestone m14 (download)
Check it here
Run the code cell in the lesson view; the challenge completes when it passes. No Studio needed.

Done means

  • The sort compares payback times, not costs
  • A button that adds no income sorts last
  • All four tests in tycoon-order pass

Hints

  1. Call payback(a) and payback(b) inside the comparison.
  2. math.huge is larger than any real payback, so the wall sorts last by itself.
Solution
luau
local buttons = {
	{ name = "Dropper 2", cost = 100, adds = 2 }, -- adds: money per second
	{ name = "Conveyor upgrade", cost = 250, adds = 10 },
	{ name = "Wall", cost = 60, adds = 0 },
	{ name = "Dropper 3", cost = 400, adds = 5 },
}
 
local function payback(button): number
	if button.adds <= 0 then
		return math.huge
	end
	return button.cost / button.adds
end
 
table.sort(buttons, function(a, b)
	return payback(a) < payback(b)
end)
 
for _, button in buttons do
	print(button.name, payback(button))
end

Walls add no income, yet every tycoon sells them. Why?

  1. They are expression and goals: they make the base feel like yours and give a cheap thing to finish
  2. They secretly raise income
  3. Roblox requires every tycoon to have walls
  4. They lower server memory
Answer

They are expression and goals: they make the base feel like yours and give a cheap thing to finish. A tycoon mixes payback buttons (progress) with decorative ones (ownership). Put decorative buttons where the player already has income to spare.

Open this step in lesson mode · Link to this step · This confused me

7Tower defense

Loop. Every few seconds: place or upgrade a tower. Every match: survive waves of enemies walking a fixed path. Every week: unlock new towers and harder modes. Economy shape: two currencies. Match cash is earned per wave and reset after the match; a meta currency, kept in the profile, unlocks towers. Retention comes from the tower collection, difficulty modes and co-op with friends.

Monetization. Tower unlocks (often from random crates, which need odds and PolicyService), premium towers and skins. A paid tower that is simply stronger is pay-to-win only if players compete; in co-op it changes how fast a team wins, which still makes free towers feel weak. Tech risk: dozens of enemies on screen. They follow a fixed path, so they need no pathfinding, but replicating each one as a moving model is expensive; the usual fix is to simulate enemies as data on the server and draw them on the client, the same idea as the drone stream in the network budget lesson. Team: medium, because towers and enemies need art and balancing.

Predict how many towers wave 20 needs before you press Run. Enemy health grows 18% a wave, so it is far more than twice wave 10. Then lower HP_GROWTH to 1.12 and see how much the late waves calm down.

Luau
local BASE_HP, HP_GROWTH = 200, 1.18
local TOWER_DPS, SECONDS_ON_PATH = 25, 20
 
local function waveHp(wave: number): number
	return math.floor(BASE_HP * HP_GROWTH ^ (wave - 1))
end
 
local function towersNeeded(wave: number): number
	return math.ceil(waveHp(wave) / (TOWER_DPS * SECONDS_ON_PATH))
end
 
for _, wave in { 1, 5, 10, 20 } do
	print(string.format("wave %2d: %5d HP, needs %d tower(s)", wave, waveHp(wave), towersNeeded(wave)))
end
Figure 7.1. Expected output: wave 1: 200 HP, needs 1 tower(s) wave 5: 387 HP, needs 1 tower(s) wave 10: 887 HP, needs 2 tower(s) wave 20: 4642 HP, needs 10 tower(s)

A tower defense match needs a lobby, a queue and a private server for each group. Which Beacon Yard system already does that?

  1. The lobby place's QueueService with MatchRules.plan, MessagingService and a reserved server teleport
  2. The coin pads
  3. The ShopService's trySpend
  4. The drone's stun
Answer

The lobby place's QueueService with MatchRules.plan, MessagingService and a reserved server teleport. Beacon Yard's lobby and match places are a match-based game's backbone. A tower defense build would keep them and replace the drill with waves, the wrench with placement, and the drone with path-following enemies.

Open this step in lesson mode · Link to this step · This confused me

8Four genres side by side

Both sidesRemember: A genre's conventions is a recipe card.

SimulatorObbyTycoonTower defense
Core numberCost over incomePass rate per stagePayback timeWave health over tower damage
SessionCollect and upgradeReach a checkpointBuy the next buttonSurvive a match
WeekRebirth, collectionNew stages, timesFinish the base, rebirthUnlock towers, modes
Usual moneyMultipliers, eggsSkips, cosmeticsMultipliers, VIPTowers, skins
First tech riskBig numbers, big profilesPhysics on phonesParts per plotMany enemies
Beacon Yard reuseShop, coins, dataData, funnelShop, data, map codeLobby, queue, rounds

Notice that all four share one ingredient: a number the player watches go up, and a reason to start again. The card is the same for every genre; the numbers in it are what you tune.

Where does it break?“A recipe card” is a good picture of a genre's conventions. Where does it stop being true?

It breaks here. A recipe card never changes and anyone can cook from it. A genre's expectations drift as players play new games, and cooking the recipe exactly gives a dish players can already get from many other games.

The true model. A teardown card records what players of a genre expect today, as patterns rather than any one game's content. Use it to meet those expectations and to see the genre's costs and risks, update it when the charts shift, and put your effort into one thing the recipe lacks.

Your teardown of a genre is complete and you follow its recipe exactly, with nothing of your own. What is the most likely result?

  1. A competent game that players have no reason to choose over the many that already follow the same recipe
  2. A guaranteed hit, because the recipe is proven
  3. A game Roblox will refuse to publish
  4. A game in the wrong genre
Answer

A competent game that players have no reason to choose over the many that already follow the same recipe. Use the card to meet expectations, then spend your effort on one thing the genre does not do yet. The picking-an-idea lesson in the next module turns that into a scoring sheet.

Open this step in lesson mode · Link to this step · This confused me

9Challenges and recap

Luau
local REBIRTH_LEVEL = 10
local MULTIPLIER_PER_REBIRTH = 0.5
 
type State = { coins: number, level: number, rebirths: number }
 
local function multiplier(rebirths: number): number
	return 1
end
 
local function canRebirth(state: State): boolean
	return state.level > REBIRTH_LEVEL
end
 
local function rebirth(state: State): State
	if not canRebirth(state) then
		return state
	end
	return { coins = state.coins, level = 0, rebirths = state.rebirths + 1 }
end
 
local after = rebirth({ coins = 500, level = 10, rebirths = 0 })
print(after.coins, after.level, after.rebirths, multiplier(after.rebirths))
Figure 9.1. Run it in the lesson view or in the Studio command bar. The lesson view checks it with tests.

Level 2, Builder

Challenge

Fix the three rules in the rebirth-rules cell: the multiplier, the level check and the reset of coins. A rebirth must cost the player their coins, or it is free money.

Start from
The game at milestone m14 (download)
Check it here
Run the code cell in the lesson view; the challenge completes when it passes. No Studio needed.

Done means

  • multiplier returns 1 plus 0.5 for each rebirth
  • canRebirth allows level 10 and above
  • rebirth resets coins and level to 0, adds one rebirth and returns a new table
  • A call before level 10 returns the same table unchanged
  • All seven tests in rebirth-rules pass

Hints

  1. 1 + rebirths * MULTIPLIER_PER_REBIRTH
  2. Use >= in canRebirth, and coins = 0 in the new table.
Solution
luau
local REBIRTH_LEVEL = 10
local MULTIPLIER_PER_REBIRTH = 0.5
 
type State = { coins: number, level: number, rebirths: number }
 
local function multiplier(rebirths: number): number
	return 1 + rebirths * MULTIPLIER_PER_REBIRTH
end
 
local function canRebirth(state: State): boolean
	return state.level >= REBIRTH_LEVEL
end
 
local function rebirth(state: State): State
	if not canRebirth(state) then
		return state
	end
	return { coins = 0, level = 0, rebirths = state.rebirths + 1 }
end
 
local after = rebirth({ coins = 500, level = 10, rebirths = 0 })
print(after.coins, after.level, after.rebirths, multiplier(after.rebirths))

Level 2, Builder

Challenge

Write a teardown card for one more genre.

Start from
Any genre from Roblox's official list that is not in these lessons

Done means

  • A full teardown card: loop on three time scales, economy shape, retention hooks, monetization pattern and where it turns unfair, tech risk, team size
  • The official genre and subgenre it sits under
  • Which Beacon Yard systems it would reuse and what it would build from nothing
  • Patterns only: no game names, no screenshots or descriptions of a specific game's art, levels or UI

Hints

  1. Racing, Board & Card Games, Escape Room and Pet Care are all on the official list.
  2. Write the core number first, the one the whole genre tunes, then model it in five lines of Luau.

Recap

  1. A teardown card answers the same seven rows for every genre: loop, economy shape, retention, monetization, tech risk, team size and Beacon Yard reuse.
  2. Roblox's official list has 17 genres; simulators and tycoons sit under Simulation, obbies under Obby & platformer, tower defense under Strategy.
  3. Each genre tunes one core number: cost over income, stage pass rate, payback time, wave health over tower damage.
  4. Beacon Yard already gives a match-based game its lobby, queue and data, and a collect-and-buy game its shop pattern and economy events.

A genre's conventions is a recipe card, until a recipe card never changes and anyone can cook from it. A genre's expectations drift as players play new games, and cooking the recipe exactly gives a dish players can already get from many other games.

Next Genre teardowns, part 2: horror, shooter, RPG, hangout

Open this step in lesson mode · Link to this step · This confused me