A premium, mobile-first browser game featuring the Seattle Seahawks' "Dark Side" defense on their journey to Super Bowl LX. Built with Next.js, Phaser 3, and Leonardo AI.
Live Demo: https://seattle-game.vercel.app
Follow the 2025 Seattle Seahawks schedule from Week 1 through the Super Bowl in San Francisco. Face real opponents (49ers, Steelers, Rams, Patriots) across 20 stages with increasing difficulty.
Survive infinite waves of runners. Compete for high scores on the leaderboard.
- Select your defender from the 11 defensive starters
- Control your player by dragging to move
- Tackle runners coming down the field
- Build combos to charge the 12th Man Megaphone
- Catch power-ups for boosts and abilities
| Player Selection | Campaign Map | Gameplay |
|---|---|---|
| 3D rotating players with animated backgrounds | Interactive US map with flight path | Wave-based defense gameplay |
- Node.js 18+
- npm
- Leonardo AI API key (for asset generation)
# Clone repository
git clone https://github.com/SipSocial/seattle-game.git
cd seattle-game
# Install dependencies
npm install
# Create environment file
echo "LEONARDO_API_KEY=your_key_here" > .env.local
# Start development server
npm run devNote: The app runs on port 3004 (configured in package.json)
npm run build
npm run startvercel --prod- ๐จ Photorealistic 3D player renders via Leonardo AI
- ๐ Animated video backgrounds
- โจ Smooth 60fps animations with Framer Motion
- ๐ฑ Mobile-first responsive design
- ๐ Real player likenesses and stats
- ๐ 20-stage campaign following 2025 Seahawks schedule
- โพ๏ธ Endless mode with high score tracking
- ๐ฎ Touch, mouse, and keyboard support
- โก DrinksIP-branded power-ups
- ๐ฃ 12th Man Megaphone super ability
- โ๏ธ React + Next.js 14 App Router
- ๐ฎ Phaser 3 game engine
- ๐ฆ Zustand state management
- ๐ผ๏ธ Leonardo AI for dynamic asset generation
- ๐ Vercel edge deployment
seattle-game/
โโโ app/ # Next.js App Router
โ โโโ page.tsx # Home/landing page
โ โโโ play/ # Game entry point
โ โโโ campaign/ # Campaign map
โ โโโ mockup/ # Player selection
โ โโโ admin/ # Asset generation tools
โ โโโ api/ # API routes
โ โโโ leonardo/ # Leonardo AI integration
โ
โโโ components/game/ # React game components
โ โโโ CampaignMapV2.tsx # Interactive US map
โ โโโ PlayerSelect.tsx # Player selection UI
โ โโโ StageTransition.tsx # Stage entry screen
โ
โโโ src/
โ โโโ game/ # Phaser game code
โ โ โโโ scenes/ # Game scenes
โ โ โโโ data/ # Game data files
โ โโโ store/ # Zustand state
โ โโโ lib/ # Utilities & API clients
โ
โโโ .cursor/rules/ # Documentation
โโโ ARCHITECTURE.md # Technical design
โโโ DESIGN_PLAN.md # Visual guidelines
โโโ RULES.md # Coding standards
โโโ AGENT_WORKFLOW.md # Multi-agent process
Edit src/game/data/campaign.ts:
- Stage order and opponents
- Difficulty settings per stage
- City locations on map
Edit src/game/data/roster.ts:
- Player names and numbers
- Positions and stats
- Starter lineup
Edit src/game/data/powerups.ts:
- Power-up effects
- Duration and strength
- Visual styling
Edit src/game/config/phaserConfig.ts:
- Seahawks colors: Navy (#002244), Green (#69BE28)
- UI colors and gradients
The game uses Leonardo AI for photorealistic asset generation:
/admin/players- Generate player portraits/admin/sprites- Generate game sprites
- Player portraits (transparent PNG)
- Stadium backgrounds (animated video)
- Campaign map (US map at night)
- Dark Side team plane (animated)
- City backgrounds for each stage
POST /api/leonardo/generate- Start generationGET /api/leonardo/status/[id]- Check statusPOST /api/players/remove-background- Remove backgrounds
| Layer | Technology |
|---|---|
| Framework | Next.js 14 (App Router) |
| Language | TypeScript |
| Game Engine | Phaser 3 |
| State | Zustand |
| Styling | Tailwind CSS v4 |
| Animation | Framer Motion |
| AI Assets | Leonardo AI |
| Deployment | Vercel |
Full documentation lives in .cursor/rules/:
| Document | Purpose |
|---|---|
project-context.md |
Current state & quick reference |
ARCHITECTURE.md |
Technical architecture & data flow |
DESIGN_PLAN.md |
Visual design & UI patterns |
RULES.md |
Coding standards & best practices |
AGENT_WORKFLOW.md |
Multi-agent collaboration guide |
npm run dev # Start dev server (port 3004)
npm run build # Production build
npm run lint # Run ESLint
npm run start # Start production server| Purpose | Location |
|---|---|
| Game state | src/store/gameStore.ts |
| Phaser config | src/game/config/phaserConfig.ts |
| Campaign data | src/game/data/campaign.ts |
| Player images | src/game/data/playerImages.ts |
| Leonardo assets | src/game/data/campaignAssets.ts |
- Game Design: DeMarcus Lawrence & Team
- Development: Cursor AI Agents
- Assets: Leonardo AI
- Brand Integration: DrinkSip
Private project - Seattle Seahawks Defense Game
- Live Game: https://seattle-game.vercel.app
- Repository: https://github.com/SipSocial/seattle-game
- Leonardo AI: https://leonardo.ai
- Vercel: https://vercel.com