Parking Lot: a portal-ready build
A careful-driving race against three bots, rebuilt as one static folder for CrazyGames: straight into the race, ads only between rounds, and graphics that scale down on weak devices.
What was built
- A small platform interface with a CrazyGames SDK v3 adapter (loading, gameplay events, midgame and rewarded ads, mute, device type, saved data) and a no-op fallback when the SDK is missing or takes over 4 s. A Poki or Yandex adapter is one more file.
- Ad pacing: a midgame ad only after at least 2 rounds and 120 s of play, at most every 180 s. The rewarded hint is offered only after a lost round, next to an equal "No thanks" button.
- Low, medium and high quality tiers picked from the device, with an automatic step-down after 4 s under 40 fps.
- A build check that fails on absolute paths, more than 1,500 files, more than 20 MB, or any outbound URL other than the portal SDK.
- Cover art rendered from the game at 1920×1080, 800×1200 and 800×800.
Timeline from git
- First commit: four cars, one free bay, first to park wins
- A four-deck car park and six stages, with bots tested in every stage
- Portal adapter, ad scheduler and performance tiers
- Portal build, build checks and covers
Sources: npm run test:run and npm run build:portal on the portal-build branch, run on 20 Nov 2026; load times from the repo's scripts/portal-load.mjs (headless Chromium, local server, cache off, three runs each: 2.48 to 2.50 s and 6.57 to 6.64 s); design details from docs/TECHNICAL.md section 14.