A clone of the New York Times Connections game, designed for family use with Google Sheets as the backend for puzzle management.
- 🎮 Full Game Mechanics - 4x4 word grid with category matching
- 📱 Mobile Optimized - Especially for iPhone users
- 🎨 NYT-Style UI - Authentic look and feel with smooth animations
- 💾 Progress Tracking - LocalStorage remembers your game state
- 🔄 Multi-Puzzle Support - Browse and play multiple puzzles
- 📤 iOS Share - Share results with colored emoji squares
- 📊 Google Sheets Backend - Easy puzzle management
- ✨ Animations - Shake on error, smooth category reveals
- Frontend: React + Vite, TailwindCSS, Framer Motion
- Backend: Node.js + Express
- Data: Google Sheets API
- Storage: LocalStorage for game state
npm run install:allCopy the example environment file:
cp backend/.env.example backend/.envThe app will work with sample puzzles without Google Sheets setup. To connect to Google Sheets, see docs/GOOGLE_SHEETS_SETUP.md.
npm run devThis starts both frontend (http://localhost:3000) and backend (http://localhost:3001).
Open http://localhost:3000 in your browser (or on your phone if on same network).
connections-clone/
├── frontend/ # React + Vite app
│ ├── src/
│ │ ├── components/ # React components
│ │ ├── App.jsx # Main app with routing
│ │ └── main.jsx # Entry point
│ └── package.json
├── backend/ # Express API server
│ ├── server.js # API routes
│ ├── sheets.js # Google Sheets integration
│ └── package.json
└── docs/ # Documentation
- Setup Guide - Complete setup instructions
- Google Sheets Setup - Connect to Google Sheets
- Deployment Guide - Deploy to your home server
- You have 16 words and must find 4 groups of 4 related words
- Select 4 words and submit your guess
- You get 4 mistakes before game over
- Categories are color-coded by difficulty:
- 🟨 Yellow (easiest)
- 🟩 Green
- 🟦 Blue
- 🟪 Purple (hardest)
cd frontend
npm run devcd backend
npm run devnpm run buildSee docs/DEPLOYMENT.md for detailed deployment instructions for:
- Docker deployment
- Bare metal deployment
- Nginx configuration
MIT