LOGIC TIER PRESENTATION TIER UPDATE STATE READ STATE RENDER UI USER INPUT requestAnimationFrame GAME STATE DOM OVERLAY Browser's native loop mechanism. Schedules the next frame. Central data store. Holds positions, scores, and logic. Output screen & UI layer. Renders HUD, menus, controls.