I HAVEN'T WRITTEN A LINE OF GAME CODE SINCE FABLE 5.1 SHIPPED
I used to think making a browser game meant Unity, a team, three months, and an asset artist
-> now I write a SPEC.md, hit /model fable-5 in Claude Code, and a playable HTML5 build lands in the folder while I make coffee
here's what's actually inside the folder that replaced the studio:
• the spec:
> SPEC.md - genre, mechanics, both desktop AND mobile controls, 16:9 aspect ratio, <8MB load, no external requests, incognito-safe localStorage
> portal requirements baked in on day one so nothing gets redone at review
• the game:
> game.js - the only file that matters. written once, never edited between portals
> index.html - local dev entry, Ads stub logs to console and resolves reward=true
> assets/ - relative paths only. no CDN, no Google Fonts, nothing that phones home
• the ad abstraction (this is why one codebase ships to both portals):
> Ads.loadingFinished() - assets ready
> Ads.gameplayStart() - fires on FIRST INPUT, not on load. Poki checks this
> Ads.gameplayStop() - any pause, death, menu
> Ads.interstitial() - between runs
> Ads.rewarded() - continue after death, double the score
• the portal entries (game.js does not change):
> poki.html - loads poki-sdk.js, wires Ads to PokiSDK.commercialBreak / rewardedBreak, prevents parent-page scroll jump on arrows and space
> crazygames.html - loads crazygames-sdk-v3.js, wraps requestAd callbacks in Promises, grants reward ONLY inside adFinished
• the funnels:
> Poki: upload -> Playtesting -> Player Fit Test -> Web Fit Test -> Final Review. failed Web Fit usually means new icon and title, not new game
> CrazyGames: dev account + Tipalti payment onboarding BEFORE submit, or the game button stays greyed out
• the economics:
> RPM $2 weak / $4 normal / $6-8 strong
> $15,000 = 2 to 7 million sessions
> Poki has 90M players/month. CrazyGames has 300M sessions/month
> 2 months CrazyGames exclusivity raises the share by ~50%
1 game.js. 3 entry files. 2 portals. 0 lines of duplicated logic
nothing in there is clever. every file exists because a portal once rejected a build for calling an external CDN and I wrote the rule down instead of remembering it
Fable 5.1 doesn't ship the game. the folder does
顯示更多