{"id":20228120,"url":"https://github.com/rohitkumar-tech/tic-tac-toe","last_synced_at":"2026-05-29T13:31:06.608Z","repository":{"id":225372516,"uuid":"748538819","full_name":"RohitKumar-tech/Tic-Tac-Toe","owner":"RohitKumar-tech","description":"This is a Tic Tac Toe game made using HTML , CSS and JAVASCRIPT .","archived":false,"fork":false,"pushed_at":"2024-01-26T08:16:12.000Z","size":153,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-03T13:16:40.216Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RohitKumar-tech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2024-01-26T07:48:12.000Z","updated_at":"2024-03-01T16:30:35.000Z","dependencies_parsed_at":"2024-03-01T18:54:24.797Z","dependency_job_id":null,"html_url":"https://github.com/RohitKumar-tech/Tic-Tac-Toe","commit_stats":null,"previous_names":["rohitkumar-tech/tic-tac-toe"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RohitKumar-tech/Tic-Tac-Toe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RohitKumar-tech%2FTic-Tac-Toe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RohitKumar-tech%2FTic-Tac-Toe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RohitKumar-tech%2FTic-Tac-Toe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RohitKumar-tech%2FTic-Tac-Toe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RohitKumar-tech","download_url":"https://codeload.github.com/RohitKumar-tech/Tic-Tac-Toe/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RohitKumar-tech%2FTic-Tac-Toe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33655440,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-29T02:00:06.066Z","response_time":107,"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":[],"created_at":"2024-11-14T07:28:40.043Z","updated_at":"2026-05-29T13:31:06.591Z","avatar_url":"https://github.com/RohitKumar-tech.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tic Tac Toe Game\n\nWelcome to the Tic Tac Toe game! This classic game has been brought to life using HTML, CSS, and JavaScript to provide a fun and interactive experience for players of all ages. Below you'll find instructions on how to play and details about the implementation.\n\n**Instructions:**\n\n1. **Getting Started:**\n   - To play the game, simply open the `index.html` file in your web browser.\n   - You'll be presented with a 3x3 grid representing the Tic Tac Toe board.\n\n2. **Gameplay:**\n   - Players take turns clicking on the squares to place their symbol (either \"X\" or \"O\").\n   - The first player to get three of their symbols in a row (horizontally, vertically, or diagonally) wins the game.\n   - If all squares are filled and no player has achieved three in a row, the game ends in a draw.\n\n3. **Restarting the Game:**\n   - To restart the game at any point, simply refresh the webpage.\n\n**Screenshot** \u003cbr\u003e \u003cbr\u003e\n\u003cimg src=\"./Screenshot/Home_Page.png\" \u003e \u003cbr\u003e \u003cbr\u003e\n\u003cimg src=\"./Screenshot/Winning_Page.png\" \u003e\n\n**Implementation Details:**\n\n1. **HTML:**\n   - The structure of the game board is created using HTML `\u003cdiv\u003e` elements.\n   - Each square on the board is represented by a `\u003cdiv\u003e` with a unique ID.\n\n2. **CSS:**\n   - The layout and styling of the game board are handled using CSS.\n   - CSS is used to create the grid layout and style the appearance of the squares.\n\n3. **JavaScript:**\n   - The game logic is implemented using JavaScript.\n   - Event listeners are used to detect clicks on the squares and handle player moves.\n   - JavaScript functions check for winning combinations after each move to determine the winner.\n   - The game state is managed dynamically using JavaScript to update the board and track player turns.\n\n**Credits:**\n\nThis Tic Tac Toe game was created by [Rohit Kumar] as a project to practice HTML, CSS, and JavaScript programming skills. Feel free to modify and customize the game as you see fit!\n\nEnjoy playing Tic Tac Toe!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frohitkumar-tech%2Ftic-tac-toe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frohitkumar-tech%2Ftic-tac-toe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frohitkumar-tech%2Ftic-tac-toe/lists"}