WordIt is an interactive, real-time multiplayer word game built with React, TypeScript, and Socket.io. Players join rooms and take turns creating words with given suffixes, challenging their vocabulary and quick thinking skills. Each player has a limited number of lives, and the game continues until only one player remains.
This project uses a monorepo structure managed by Turborepo. The main components are:
apps/web: The frontend React applicationapps/server: The backend Node.js serverpackages/typescript-config: Shared TypeScript configurations
- Real-time multiplayer gameplay
- Room creation and joining
- Turn-based word creation with suffixes
- Live player status updates
- Responsive design for various screen sizes
- Animated backgrounds
- Frontend:
- React
- TypeScript
- Vite
- Tailwind CSS
- Socket.IO Client
- Backend:
- Node.js
- Express
- Socket.io
- Typo.js for spell checking
- Shared:
- Turborepo for monorepo management
- Clone the repository
- Install dependencies:
npm install - Start the development servers:
npm run dev
This will start both the frontend and backend servers concurrently.
- Players join a room
- The game starts when more than half of the players are ready
- Each turn, a player is given a suffix
- The player must create a valid word ending with the given suffix
- If the word is valid, play passes to the next player
- If the word is invalid, the player loses a life and play passes to the next player
- The game continues until only one player remains
Contributions are welcome! Please feel free to submit a Pull Request.