{"id":22151617,"url":"https://github.com/babanigit/tic-tac-toe-game","last_synced_at":"2026-05-03T20:37:02.469Z","repository":{"id":238300629,"uuid":"796279768","full_name":"babanigit/Tic-Tac-Toe-Game","owner":"babanigit","description":"This project is a real-time multiplayer Tic-Tac-Toe game built using the MERN (MongoDB, Express.js, React.js, Node.js) stack. With seamless integration of Stream Chat for real-time communication, players can enjoy an immersive gaming experience while competing against each other from anywhere.","archived":false,"fork":false,"pushed_at":"2025-12-23T14:39:09.000Z","size":4811,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-25T04:29:34.575Z","etag":null,"topics":["aws","docker","docker-compose","expressjs","game","mernstack","nodejs","onlinegame","reactjs","socket-io","streamchat","tic-tac-toe","tictactoe-game"],"latest_commit_sha":null,"homepage":"https://tic-tac-toe-game-production.up.railway.app/","language":"TypeScript","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/babanigit.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-05-05T13:37:01.000Z","updated_at":"2025-12-23T14:39:13.000Z","dependencies_parsed_at":"2025-09-08T16:45:57.762Z","dependency_job_id":null,"html_url":"https://github.com/babanigit/Tic-Tac-Toe-Game","commit_stats":null,"previous_names":["babanigit/tic-tac-toe-game"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/babanigit/Tic-Tac-Toe-Game","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babanigit%2FTic-Tac-Toe-Game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babanigit%2FTic-Tac-Toe-Game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babanigit%2FTic-Tac-Toe-Game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babanigit%2FTic-Tac-Toe-Game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/babanigit","download_url":"https://codeload.github.com/babanigit/Tic-Tac-Toe-Game/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babanigit%2FTic-Tac-Toe-Game/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32584464,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["aws","docker","docker-compose","expressjs","game","mernstack","nodejs","onlinegame","reactjs","socket-io","streamchat","tic-tac-toe","tictactoe-game"],"created_at":"2024-12-02T00:34:43.080Z","updated_at":"2026-05-03T20:37:02.245Z","avatar_url":"https://github.com/babanigit.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎮 Real-Time Multiplayer Tic-Tac-Toe Game (MERN Stack)\n\nA full-stack real-time multiplayer **Tic-Tac-Toe** web game powered by the **MERN stack**. It includes **real-time chat integration using Stream Chat API**, user authentication, session management, and a smooth multiplayer game experience. Deployed on **AWS EC2 using Docker**, this project showcases my ability to build scalable, interactive web applications with secure backend functionality and real-time features.\n\n---\n\n## 🧠 What I Built\n\n- 👨‍💻 A real-time multiplayer game using **WebSockets** via Stream Chat\n- 🔒 Secure authentication using **JWT** and sessions\n- 📦 Backend APIs built with **Node.js, Express**, and **MongoDB**\n- 🧑‍🎨 Interactive UI using **React.js**\n- 🐳 Production-ready deployment using **Docker** on an **AWS EC2** instance\n\n---\n\n## 🌐 Live Demo\n\nHosted on AWS EC2:  \n🔗 [http://13.235.79.12:5005/](http://13.235.79.12:5005/)\n\n---\n\n## 📸 Screenshots\n\n### 📝 Register Page\n![Register Page](ss/ttt.png)\n\n### 🎮 Create \u0026 Join Game Page\n![Create and Join Game Page](ss/ttt2.png)\n\n### 🧠 Game Interface\n![Main Game Page](ss/ttt3.png)\n\n---\n\n## 🚀 Features\n\n- 🔐 User registration and login with encrypted password storage\n- 🧑‍🤝‍🧑 Create or join private/public games via unique room codes\n- 🔄 Real-time gameplay and messaging via **Stream Chat**\n- 🧠 Game logic: win-checking, draw detection, and score tracking\n- 🌍 Responsive UI for both desktop and mobile\n- 📦 Dockerized for consistent deployment\n\n---\n\n## ⚙️ Tech Stack\n\n### 💻 Frontend:\n- React.js\n- Tailwind CSS (if used)\n\n### 🖥️ Backend:\n- Node.js\n- Express.js\n- MongoDB (via Mongoose)\n- JWT \u0026 Express Session for Authentication\n\n### 📡 Real-Time \u0026 Chat:\n- Stream Chat API\n\n### 🐳 DevOps:\n- Docker\n- AWS EC2\n- PM2 (optional for running Node server in production)\n\n---\n\n## 📦 Dependencies\n\n```json\n\"dependencies\": {\n  \"bcrypt\": \"^5.1.1\",\n  \"bcryptjs\": \"^2.4.3\",\n  \"connect-mongo\": \"^5.1.0\",\n  \"cookie-parser\": \"^1.4.6\",\n  \"cors\": \"^2.8.5\",\n  \"dotenv\": \"^16.4.5\",\n  \"envalid\": \"^8.0.0\",\n  \"express\": \"^4.19.2\",\n  \"express-session\": \"^1.18.0\",\n  \"http-errors\": \"^2.0.0\",\n  \"jsonwebtoken\": \"^9.0.2\",\n  \"mongoose\": \"^8.3.3\",\n  \"morgan\": \"^1.10.0\",\n  \"stream-chat\": \"^8.31.0\",\n  \"uuid\": \"^9.0.1\",\n  \"pnpm\": \"^10.7.1\"\n}\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbabanigit%2Ftic-tac-toe-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbabanigit%2Ftic-tac-toe-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbabanigit%2Ftic-tac-toe-game/lists"}