Real-time multiplayer Tic Tac Toe with infinite gameplay - no draws, just endless fun!
Live Demo: https://infinitive-tic-tac-toe.netlify.app/
Note: Backend uses free tier hosting. If you experience delays when creating/joining rooms, please wait 1-2 minutes for the server to wake up from sleep mode.
- 🎮 Infinite Gameplay - Pieces vanish after 3 moves to prevent draws
- 🌐 Real-time Multiplayer - Play with friends using 6-digit room codes
- 🔊 Audio System - Background music and sound effects
- 💬 Sticker Chat - 58+ stickers across 5 categories
- 📱 Mobile Responsive - Works on all devices
- ⚡ Smooth Animations - Framer Motion powered
# Install dependencies
npm install
cd client && npm install
cd ../server && npm install
# Run development
npm run devOpen http://localhost:5173 for client and http://localhost:3001 for server.
Frontend: React 18, TypeScript, Vite, Zustand, Framer Motion, SCSS
Backend: Node.js, Express, Socket.IO, TypeScript
Testing: Vitest, Jest, React Testing Library
- Connect GitHub repo to Render
- Set build command:
npm run build - Set start command:
npm start - Add environment:
NODE_ENV=production - Important: Set root directory to
/(not/server)
- Connect GitHub repo to Netlify
- Set build command:
cd client && npm run build - Set publish directory:
client/dist - Add environment:
VITE_SOCKET_URL=https://your-backend.onrender.com
That's it! 🎉
- Create Room - Click "Create Game" and share the 6-digit code
- Join Room - Enter room code to join a friend's game
- Play - Take turns placing X's and O's
- No Draws - After 3 moves, your oldest piece disappears!
- Win - Get 3 in a row (horizontal, vertical, or diagonal)
├── client/ # React frontend
├── server/ # Node.js backend
├── shared/ # Shared TypeScript types
└── scripts/ # Utility scripts
npm test # Run all tests
cd client && npm test # Client tests only
cd server && npm test # Server tests onlyMIT © 2025
© 2025 - Developed by Eggplant203 🍆