'use client' import { useState } from 'react' import { useRouter } from 'next/navigation' // 背景装饰黑话词条 const BUZZ_WORDS = [ '对齐', '赋能', '闭环', '拉通', '复盘', '抓手', '颗粒度', '落地', '沉淀', '方法论', '协同', '降本增效', '去重复化', 'OKR', 'KPI', 'P8', 'P9', '内卷', '高优', '紧急拉会', 'JIRA', '绩效', 'HC冻结', '组织架构调整', '并行推进', '向上管理', '自驱力', '全链路', '数据驱动', '业务增长', ] type DifficultyLevel = 'easy' | 'normal' | 'hard' const DIFFICULTY_OPTIONS: { key: DifficultyLevel label: string desc: string color: string borderColor: string glowColor: string }[] = [ { key: 'easy', label: '简单', desc: '带薪摸鱼,准点下班', color: '#22C55E', borderColor: '#16a34a', glowColor: 'rgba(34,197,94,0.35)', }, { key: 'normal', label: '普通', desc: '常规打工,偶有加班', color: '#3B82F6', borderColor: '#2563eb', glowColor: 'rgba(59,130,246,0.35)', }, { key: 'hard', label: '困难', desc: '地狱模式,007全开', color: '#EF4444', borderColor: '#dc2626', glowColor: 'rgba(239,68,68,0.35)', }, ] export default function GameCover() { const [selectedDifficulty, setSelectedDifficulty] = useState('normal') const router = useRouter() const handleStart = () => { if (typeof window !== 'undefined') { localStorage.setItem('game-difficulty', selectedDifficulty) } router.push('/game') } return (
{/* 深色叠加层 */}
{/* CRT 流动扫描线 */}
{/* 背景装饰:大厂黑话浮字 */} {/* 中央主卡片 */}
{/* 游戏主标题 */}

大厂保卫战

{/* 副标题 */}

最后的打工人

{/* 英文副标 */}

THE LAST GRINDER

{/* 分割线 */}
{/* 描述文字 */}

保住 KPI,战胜空降 VP
部署打工人防线,捍卫最后的 HC

{/* 难度选择 */}

选择难度

{DIFFICULTY_OPTIONS.map(opt => { const isSelected = selectedDifficulty === opt.key return ( ) })}
{/* 开始游戏按钮 */} {/* 提示文字 */}

PRESS START

{/* 底部版权 */}
) }