{"id":27700344,"url":"https://github.com/chen-abudi/tic-tac-toe-realtime","last_synced_at":"2026-04-07T07:31:30.705Z","repository":{"id":288141913,"uuid":"965196776","full_name":"Chen-Abudi/tic-tac-toe-realtime","owner":"Chen-Abudi","description":"🕹️ Challenge your friends in real-time Tic Tac Toe! Smooth turns, live updates, and a slick UI inspired by Figma — All in one fun little package.","archived":false,"fork":false,"pushed_at":"2025-04-23T20:09:51.000Z","size":2982,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-23T20:40:59.219Z","etag":null,"topics":["design-system","express","javascript","modular-architecture","monorepo","nextjs","nodejs","react","socket-io","storybook","tailwindcss","test-client","typescript","vite","websocket","yarn-workspaces","zustand"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Chen-Abudi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-12T16:17:08.000Z","updated_at":"2025-04-23T20:09:55.000Z","dependencies_parsed_at":"2025-04-15T19:42:41.832Z","dependency_job_id":"860dfa84-a6c4-43ce-9c29-e1e529f8ef5e","html_url":"https://github.com/Chen-Abudi/tic-tac-toe-realtime","commit_stats":null,"previous_names":["chen-abudi/tic-tac-toe-realtime"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chen-Abudi%2Ftic-tac-toe-realtime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chen-Abudi%2Ftic-tac-toe-realtime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chen-Abudi%2Ftic-tac-toe-realtime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chen-Abudi%2Ftic-tac-toe-realtime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Chen-Abudi","download_url":"https://codeload.github.com/Chen-Abudi/tic-tac-toe-realtime/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250878761,"owners_count":21501741,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["design-system","express","javascript","modular-architecture","monorepo","nextjs","nodejs","react","socket-io","storybook","tailwindcss","test-client","typescript","vite","websocket","yarn-workspaces","zustand"],"created_at":"2025-04-25T18:59:02.677Z","updated_at":"2025-12-30T19:15:08.141Z","avatar_url":"https://github.com/Chen-Abudi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎮 ⭕❌ tic-tac-toe-realtime\n\nA real-time multiplayer Tic Tac Toe game powered by **Node.js**, **Socket.IO**, and a cool UI inspired by a Figma design.\n\nThis monorepo is built with a modular mindset and includes both the **backend server**, the **frontend app**, and a **shared design system** with Storybook.\n\n---\n\n## ✨ Features\n\n- Real-time multiplayer game via **`WebSockets`**\n- Game rooms and dynamic player sessions\n- Turn-based game logic with win/draw detection\n- Smooth gameplay with state synchronization\n- Modular monorepo powered by **`Yarn Workspaces`**\n- Shared Design System using **`Storybook`** (in progress)\n- Inspired by [this Figma design](https://www.figma.com/design/ajH9a7AsS7F58ysatXikmv/tic-tac-toe)\n\n---\n\n## 🧱 Tech Stack\n\n### Backend\n\n- ⚙️ Node.js + Express\n- 🔌 Socket.IO (WebSockets)\n- 🧠 Game logic in-memory (scalable later)\n- 📊 MongoDB/Mongoose for data persistence\n- 🔤 TypeScript, ts-node-dev\n\n### Frontend (In Progress)\n\n- ⚛️ React + Next.js\n- ⚡ Vite for ultra-fast development\n- 🎨 TailwindCSS + Custom animations\n- 💾 Zustand for local state management\n- 🧩 Component-driven with reusable UI\n- 📕 Storybook for Design System (coming soon)\n- 🧼 ESLint + Prettier (planned to be added later)\n\n### Dev / Tooling\n\n- 🧶 Yarn Workspaces\n- 🗂️ Monorepo Layout\n- 📁 Modular architecture\n- 🧪 `test-client` for local socket testing\n- 📦 GitHub + Feature branch workflow\n\n---\n\n## 📁 Project Structure\n\n```txt\napps/\n  ├── server/          # Backend API \u0026 Socket.IO server\n  ├── client/              # Frontend app\n  └── test-client/     # Simple socket.io client for testing\n\npackages/\n  └── shared\n  └── ui/   # Shared UI components (Storybook)\n```\n\n---\n\n## 🚀 Getting Started\n\n### Prerequisites\n\n- Node.js (v18 or higher recommended)\n- Yarn package manager\n- MongoDB (local or Atlas connection)\n\n### Installation\n\n1. Clone the repository\n\n```bash\ngit clone https://github.com/Chen-Abudi/tic-tac-toe-realtime.git\ncd tic-tac-toe-realtime\n```\n\n2. Install all dependencies\n\n```bash\nyarn install\n```\n\n3. Start the backend server\n\n```bash\nyarn workspace server dev\n```\n\n**Note**: Server runs on: http://localhost:4001 by default\n\n4. Start the frontend client\n\n```bash\nyarn workspace client dev\n```\n\n**Note**: Client runs on: http://localhost:3000 by default\n\n5. (Optional) Run the Socket.io test client\n\n```bash\nyarn workspace test-client ts-node index.ts\n```\n\nNote: This is a simple client for testing purposes. It will connect to the server and emit messages to test the socket connection.\n\n---\n\n## 🛣️ Roadmap\n\n- [x] Setup monorepo with Yarn Workspaces\n- [x] Build backend with room management + game logic\n- [x] Add test-client for real-time testing\n- [x] Create frontend app and hook up sockets\n- [x] Add responsive styles and transitions for gameplay\n- [x] Fix game state / UI sync across clients\n- [**In Progress**] Build out UI with Tailwind \u0026 match Figma\n- [**In Progress**] Create design system with Storybook\n- [ ] Add game animations and sound effects\n- [ ] Add persistent database with MongoDB\n- [ ] Add lobby / room browser (later on)\n- [ ] Finalize design system in Storybook\n\n---\n\n## 🤝🏽 Contributing\n\nContributions are welcome! Here's how you can contribute:\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add some amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## 📸 Screenshots\n\n_Coming soon_\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n---\n\n## 👩🏽‍💻 Author\n\nGrace Chen Abudi - [GitHub](https://github.com/Chen-Abudi)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchen-abudi%2Ftic-tac-toe-realtime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchen-abudi%2Ftic-tac-toe-realtime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchen-abudi%2Ftic-tac-toe-realtime/lists"}