Add Week 2 depth systems: research, events, competitors, talent, data

Tech tree with 21 research nodes across 5 categories (infrastructure,
efficiency, generation, specialization, safety). Research page with
category-grouped cards, progress tracking, prerequisite gating.

Event engine with 34 events across industry/regulatory/PR/internal/market
categories, weighted random firing, cooldowns, expiry, and choice modal
with consequence preview. Events auto-expire with default choice.

Competitor system with 3 rival AI labs (Prometheus AI, Nexus Labs, Titan
Computing), personality-driven milestone progression, and comparison UI.

Talent page with department hiring, headcount management, and key hire
recruitment from a pool of 10 named characters with special abilities.

Data marketplace with 8 purchasable datasets, user data flywheel from
subscribers, and data system processing in tick loop.

Era transition system checks revenue/capability/reputation thresholds.
All new systems integrated into tick processor with notifications.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-24 17:30:24 -04:00
parent d1d3eb4bf2
commit 8c9555bc08
19 changed files with 3166 additions and 21 deletions
+233
View File
@@ -0,0 +1,233 @@
import type { ResearchNode } from '@ai-tycoon/shared';
export const TECH_TREE: ResearchNode[] = [
// === COMPUTE / INFRASTRUCTURE ===
{
id: 'advanced-cooling',
name: 'Advanced Cooling',
description: 'Liquid cooling systems reduce energy costs by 25%.',
era: 'startup',
category: 'infrastructure',
prerequisites: [],
cost: { researchPoints: 0, compute: 5, ticks: 60 },
effects: [{ type: 'cost_reduction', target: 'energy', value: 0.25 }],
},
{
id: 'redundancy-protocols',
name: 'Redundancy Protocols',
description: 'Fault-tolerant architectures cut GPU failure rates in half.',
era: 'startup',
category: 'infrastructure',
prerequisites: [],
cost: { researchPoints: 0, compute: 5, ticks: 60 },
effects: [{ type: 'cost_reduction', target: 'failure_rate', value: 0.5 }],
},
{
id: 'advanced-gpu-arch',
name: 'Advanced GPU Architecture',
description: 'Unlocks procurement of NVIDIA A100 datacenter GPUs.',
era: 'startup',
category: 'infrastructure',
prerequisites: [],
cost: { researchPoints: 0, compute: 10, ticks: 90 },
effects: [{ type: 'unlock_gpu', target: 'a100', value: 1 }],
},
{
id: 'next-gen-gpu',
name: 'Next-Gen GPU Architecture',
description: 'Unlocks procurement of NVIDIA H100 GPUs.',
era: 'scaleup',
category: 'infrastructure',
prerequisites: ['advanced-gpu-arch'],
cost: { researchPoints: 2, compute: 40, ticks: 240 },
effects: [{ type: 'unlock_gpu', target: 'h100', value: 1 }],
},
{
id: 'frontier-compute',
name: 'Frontier Compute',
description: 'Unlocks procurement of NVIDIA B200 GPUs.',
era: 'bigtech',
category: 'infrastructure',
prerequisites: ['next-gen-gpu'],
cost: { researchPoints: 5, compute: 200, ticks: 480 },
effects: [{ type: 'unlock_gpu', target: 'b200', value: 1 }],
},
{
id: 'custom-silicon',
name: 'Custom Silicon Design',
description: 'Design and fabricate custom AI ASICs for maximum efficiency.',
era: 'agi',
category: 'infrastructure',
prerequisites: ['frontier-compute'],
cost: { researchPoints: 10, compute: 500, ticks: 900 },
effects: [{ type: 'unlock_gpu', target: 'custom', value: 1 }],
},
{
id: 'distributed-training',
name: 'Distributed Training',
description: 'Train models across multiple data centers simultaneously. +20% training speed.',
era: 'scaleup',
category: 'infrastructure',
prerequisites: ['advanced-gpu-arch'],
cost: { researchPoints: 2, compute: 30, ticks: 180 },
effects: [{ type: 'efficiency_boost', target: 'training_speed', value: 0.2 }],
},
// === EFFICIENCY ===
{
id: 'quantization',
name: 'Quantization Research',
description: 'INT8/INT4 inference reduces compute costs. +15% inference efficiency.',
era: 'startup',
category: 'efficiency',
prerequisites: [],
cost: { researchPoints: 0, compute: 8, ticks: 75 },
effects: [{ type: 'efficiency_boost', target: 'inference', value: 0.15 }],
},
{
id: 'distillation',
name: 'Knowledge Distillation',
description: 'Train smaller models that retain teacher quality. +10% model capability.',
era: 'scaleup',
category: 'efficiency',
prerequisites: ['quantization'],
cost: { researchPoints: 2, compute: 25, ticks: 180 },
effects: [{ type: 'capability_boost', target: 'all', value: 5 }],
},
{
id: 'inference-optimization',
name: 'Inference Optimization',
description: 'Optimized kernels and batching. +30% tokens per FLOP.',
era: 'scaleup',
category: 'efficiency',
prerequisites: ['quantization'],
cost: { researchPoints: 2, compute: 20, ticks: 150 },
effects: [{ type: 'efficiency_boost', target: 'tokens_per_flop', value: 0.3 }],
},
// === MODEL CAPABILITIES ===
{
id: 'transformer-v2',
name: 'Advanced Architectures',
description: 'Mixture-of-experts and improved attention. +10 base capability.',
era: 'startup',
category: 'generation',
prerequisites: [],
cost: { researchPoints: 0, compute: 10, ticks: 90 },
effects: [{ type: 'capability_boost', target: 'all', value: 10 }],
},
{
id: 'reasoning-enhancement',
name: 'Chain-of-Thought Training',
description: 'Enhanced reasoning through structured thinking. +15 reasoning.',
era: 'scaleup',
category: 'specialization',
branch: 'reasoning',
prerequisites: ['transformer-v2'],
cost: { researchPoints: 3, compute: 40, ticks: 240 },
effects: [{ type: 'capability_boost', target: 'reasoning', value: 15 }],
},
{
id: 'code-generation',
name: 'Code Generation',
description: 'Specialized code understanding and generation. +15 coding.',
era: 'scaleup',
category: 'specialization',
branch: 'coding',
prerequisites: ['transformer-v2'],
cost: { researchPoints: 3, compute: 35, ticks: 210 },
effects: [{ type: 'capability_boost', target: 'coding', value: 15 }],
},
{
id: 'creative-systems',
name: 'Creative Expression',
description: 'Enhanced creative writing and artistic understanding. +15 creative.',
era: 'scaleup',
category: 'specialization',
branch: 'creative',
prerequisites: ['transformer-v2'],
cost: { researchPoints: 3, compute: 30, ticks: 210 },
effects: [{ type: 'capability_boost', target: 'creative', value: 15 }],
},
{
id: 'multimodal-fusion',
name: 'Multi-Modal Fusion',
description: 'Vision-language integration for image understanding. +20 multimodal. Unlocks Image product.',
era: 'scaleup',
category: 'specialization',
branch: 'multimodal',
prerequisites: ['transformer-v2'],
cost: { researchPoints: 4, compute: 50, ticks: 300 },
effects: [
{ type: 'capability_boost', target: 'multimodal', value: 20 },
{ type: 'unlock_product_line', target: 'image', value: 1 },
],
},
{
id: 'agentic-architecture',
name: 'Agentic Architecture',
description: 'Tool use, planning, and autonomous execution. +20 agents. Unlocks Agents product.',
era: 'bigtech',
category: 'specialization',
branch: 'agents',
prerequisites: ['reasoning-enhancement', 'code-generation'],
cost: { researchPoints: 6, compute: 100, ticks: 480 },
effects: [
{ type: 'capability_boost', target: 'agents', value: 20 },
{ type: 'unlock_product_line', target: 'agents', value: 1 },
],
},
// === SAFETY ===
{
id: 'alignment-research',
name: 'Alignment Research',
description: 'RLHF and value alignment techniques. +10 safety, +5 reputation.',
era: 'startup',
category: 'safety',
prerequisites: [],
cost: { researchPoints: 0, compute: 8, ticks: 90 },
effects: [
{ type: 'safety_boost', target: 'models', value: 10 },
{ type: 'capability_boost', target: 'reputation', value: 5 },
],
},
{
id: 'interpretability',
name: 'Interpretability',
description: 'Understand model reasoning and detect failure modes. +10 safety, +5 reputation.',
era: 'scaleup',
category: 'safety',
prerequisites: ['alignment-research'],
cost: { researchPoints: 3, compute: 40, ticks: 240 },
effects: [
{ type: 'safety_boost', target: 'models', value: 10 },
{ type: 'capability_boost', target: 'reputation', value: 5 },
],
},
{
id: 'constitutional-ai',
name: 'Constitutional AI',
description: 'Self-supervised alignment at scale. +15 safety, +10 reputation.',
era: 'bigtech',
category: 'safety',
prerequisites: ['interpretability'],
cost: { researchPoints: 5, compute: 80, ticks: 420 },
effects: [
{ type: 'safety_boost', target: 'models', value: 15 },
{ type: 'capability_boost', target: 'reputation', value: 10 },
],
},
// === DATA ===
{
id: 'data-pipeline',
name: 'Data Pipeline Optimization',
description: 'Automated data cleaning and deduplication. +20% data quality.',
era: 'startup',
category: 'efficiency',
prerequisites: [],
cost: { researchPoints: 0, compute: 5, ticks: 60 },
effects: [{ type: 'efficiency_boost', target: 'data_quality', value: 0.2 }],
},
];