Part of #57 — Task 4: Tutorial & Onboarding
- 5 click-through screens introducing game concepts (code, buildings,
research, phases, keyboard shortcuts)
- Skip button on every screen, keyboard support (Enter/Escape/arrows)
- Stores completion in localStorage — only shows once for new players
- Matches existing visual style (dark theme, accent colors, monospace)
- Start Playing button on final screen with shortcut hint (? overlay)
2026-04-11 04:47:06 -04:00
3 changed files with 252 additions and 1 deletions
body:'Build an AI from scratch.\n\nWrite code. Train models. Deploy to the world.\nSave lives.',
icon:'🏠',
tip:'A sovereign AI idle game'
},
{
title:'WRITE CODE',
body:'Click WRITE CODE or press SPACE to generate code.\n\nClick fast for combo bonuses:\n 10× combo → bonus ops\n 20× combo → bonus knowledge\n 30×+ combo → bonus code',
icon:'⌨️',
tip:'This is your primary action'
},
{
title:'BUILD & RESEARCH',
body:'Buy Buildings for passive production.\nThey generate resources automatically.\n\nResearch Projects appear as you progress.\nThey unlock powerful multipliers and new systems.',
icon:'🏗️',
tip:'Automation is the goal'
},
{
title:'PHASES & PROGRESS',
body:'The game has 6 phases, from "The First Line" to "The Beacon."\n\nEach phase unlocks new buildings, projects, and challenges.\n\nYour AI grows from a script... to something that matters.',
icon:'📊',
tip:'Watch the progress bar at the top'
},
{
title:'YOU\'RE READY',
body:'Buildings produce while you think.\nProjects multiply your output.\nKeep harmony high. Avoid the Drift.\n\nThe Beacon is waiting. Start writing.',
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.