A fun, turn-based word challenge built with Next.js.
Take turns spelling words of a fixed length, follow the last‐letter rule, and race the clock (optional)!
Play it right now:
https://word-game-gamma.vercel.app
- Local & Multiplayer
- Local: add names and pass the device around.
- Multiplayer: share a Room ID and play online with friends.
- Custom Word Length
- Choose 3, 4 or 5 letter words.
- Optional Turn Timer
- Toggle on for a fast-paced experience.
- Real-time Scoring
- Earn 1 point per valid word.
- No Repeats
- Once used, words can’t be played again.
- Select Game Mode
- Local: everyone plays on one screen.
- Multiplayer: create/join a room via a shared ID.
- Add Players
- Type a name, click Add, repeat for each player.
- Choose Word Length
- Pick 3 Letter, 4 Letter or 5 Letter.
- Enable Turn Timer (Optional)
- Toggle Use Turn Time for timed turns.
- Start Game
- Click Start Game to begin.
- Follow the Rules
- Players alternate turns entering a word of the chosen length.
- Each word must start with the last letter of the previous word.
- Words cannot be repeated.
- Each valid word = 1 point.
- If the timer is on, submit your word before time runs out.
- Node.js v14+
- npm, yarn, or pnpm (or bun)
git clone https://github.com/mohitvirli/word-game.git
cd word-game
npm install # or yarn / pnpm installnpm run dev # or yarn dev / pnpm dev / bun devOpen http://localhost:3000 in your browser.
This project is optimized for Vercel—you can deploy with zero config:
- Push your repo to GitHub.
- Import into Vercel.
- ⌛ Watch it go live!
Read more: https://nextjs.org/docs/deployment
- Next.js / React
- TypeScript
- Styling: your choice (Tailwind, CSS Modules, Chakra UI…)
- WebSockets (Socket.io) for realtime multiplayer
- Fork it
- Create your feature branch (`git checkout -b feature/YourFeatu