{"id":19831466,"url":"https://github.com/janubhav/tic-tac-toe-js","last_synced_at":"2026-04-06T08:31:49.334Z","repository":{"id":272392757,"uuid":"916443828","full_name":"jAnubhav/Tic-Tac-Toe-JS","owner":"jAnubhav","description":"A Tic-Tac-Toe web app 🎮✨ built with HTML, CSS, and JS, featuring smooth animations 🎥, stylish ❌⭕ icons, and engaging interactive gameplay 🎯.","archived":false,"fork":false,"pushed_at":"2025-01-14T05:25:16.000Z","size":2464,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T21:26:45.480Z","etag":null,"topics":["css","css3","html","html-css-javascript","html-game","html5","javascript","javascript-game","tic-tac-toe","tic-tac-toe-game","tic-tac-toe-javascript"],"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/jAnubhav.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}},"created_at":"2025-01-14T05:23:26.000Z","updated_at":"2025-01-14T05:33:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"265259f2-3395-45bf-97c2-f4b86d7bf305","html_url":"https://github.com/jAnubhav/Tic-Tac-Toe-JS","commit_stats":null,"previous_names":["janubhav/tic-tac-toe-js"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jAnubhav/Tic-Tac-Toe-JS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jAnubhav%2FTic-Tac-Toe-JS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jAnubhav%2FTic-Tac-Toe-JS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jAnubhav%2FTic-Tac-Toe-JS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jAnubhav%2FTic-Tac-Toe-JS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jAnubhav","download_url":"https://codeload.github.com/jAnubhav/Tic-Tac-Toe-JS/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jAnubhav%2FTic-Tac-Toe-JS/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31464604,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"online","status_checked_at":"2026-04-06T02:00:07.287Z","response_time":112,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["css","css3","html","html-css-javascript","html-game","html5","javascript","javascript-game","tic-tac-toe","tic-tac-toe-game","tic-tac-toe-javascript"],"created_at":"2024-11-12T11:32:04.766Z","updated_at":"2026-04-06T08:31:49.329Z","avatar_url":"https://github.com/jAnubhav.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TicTacToe\n\nThis is a simple Tic Tac Toe game built with HTML, CSS, and JavaScript. The game features a single-player mode where the user plays against the computer in 5 rounds.\n\n### Features\n\n- **Single-Player Game:** Play against a computer opponent.\n- **5-Round Match:** Play 5 rounds of Tic Tac Toe, with the results tracked across rounds.\n- **Game Screens:**\n  - Start screen to begin the game.\n  - Game screen to play the rounds.\n  - Result screen to display the final score after all 5 rounds.\n\n### How to Play\n\n1. Open the game in your browser by opening the `index.html` file.\n2. The game will start with the **Start Screen**, where you can click the \"Start Game\" button to begin.\n3. Once the game begins, you will be taken to the **Game Screen** where you can take turns playing Tic Tac Toe against the computer.\n4. After each round, the winner of the round will be announced.\n5. After 5 rounds, you will be taken to the **Result Screen**, where the final winner will be displayed, and you can choose to play again.\n\n### TechStack Used\n\n- **HTML**: Structure of the game.\n- **CSS**: Styling of the game.\n- **JavaScript**: Game logic for playing against the computer, handling turns, and tracking results.\n\n### Game Flow\n\n1. **Start Screen**: Click the \"Start Game\" button.\n2. **Game Screen**:\n   - Player and computer take turns placing their marks on the grid.\n   - The player is always \"X\" and the computer is \"O\".\n   - A round ends when a player wins or the grid is full (draw).\n3. **Result Screen**: After 5 rounds, the game shows the total score and declares the overall winner. You can restart the game from here.\n\n### Installation\n\n1. Clone or download this repository.\n```bash\ngit clone https://github.com/jAnubhav/Tic-Tac-Toe-JS\n```\n2. Open the `index.html` file in any modern web browser to play the game.\n\n### Screenshots\n\n- **Start Screen:** Displays a button to start the game.\n\n![Start Screen](./img/sample/start%20screen.png)\n\n- **Game Screen:** 3x3 grid where the player and computer take turns.\n\n![Game Screen](./img/sample/game%20screen.png)\n\n- **Result Screen:** Shows the final winner after 5 rounds.\n\n![Result Screen](./img/sample/result%20screen.png)\n\n\n### Contributing?\n\nFeel free to suggest improvements.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanubhav%2Ftic-tac-toe-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjanubhav%2Ftic-tac-toe-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanubhav%2Ftic-tac-toe-js/lists"}