{"id":15457122,"url":"https://github.com/haroonabdulrazaq/tictactoe","last_synced_at":"2026-02-25T06:37:55.125Z","repository":{"id":122960434,"uuid":"281647158","full_name":"Haroonabdulrazaq/tictactoe","owner":"Haroonabdulrazaq","description":"(Solo)TicTacToe is a 3x3 grid dual player game that assigns symbols(Xs, Os) to players. The final outcome is either a tie or a win. There are 8 possible winning combinations from a player, the player can win by making 3 consecutive moves either vertically, horizontally or diagonally. A player has a maximum of 5 possible moves.","archived":false,"fork":false,"pushed_at":"2020-08-22T21:10:07.000Z","size":10,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-11T07:25:20.754Z","etag":null,"topics":["game","ruby","solo"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/Haroonabdulrazaq.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":"2020-07-22T10:29:04.000Z","updated_at":"2021-03-16T07:48:19.000Z","dependencies_parsed_at":"2024-06-14T02:46:27.555Z","dependency_job_id":null,"html_url":"https://github.com/Haroonabdulrazaq/tictactoe","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Haroonabdulrazaq/tictactoe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haroonabdulrazaq%2Ftictactoe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haroonabdulrazaq%2Ftictactoe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haroonabdulrazaq%2Ftictactoe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haroonabdulrazaq%2Ftictactoe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Haroonabdulrazaq","download_url":"https://codeload.github.com/Haroonabdulrazaq/tictactoe/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haroonabdulrazaq%2Ftictactoe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29812619,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T05:36:42.804Z","status":"ssl_error","status_checked_at":"2026-02-25T05:36:31.934Z","response_time":61,"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":["game","ruby","solo"],"created_at":"2024-10-01T22:42:06.215Z","updated_at":"2026-02-25T06:37:55.121Z","avatar_url":"https://github.com/Haroonabdulrazaq.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tic Tac Toe Game\n  \n[![View Code](https://img.shields.io/badge/View%20-Code-green)]()\n[![Github Issues](https://img.shields.io/badge/GitHub-Issues-orange)]()\n[![GitHub Pull Requests](https://img.shields.io/badge/GitHub-Pull%20Requests-blue)]()\n\n## Content\n\n\u003ca text-align=\"center\" href=\"#about\"\u003eAbout\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;|\u0026nbsp;\u0026nbsp;\u0026nbsp;\n\u003ca href=\"#rules\"\u003eRules\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;|\u0026nbsp;\u0026nbsp;\u0026nbsp;\n\u003ca href=\"#with\"\u003eBuilt with\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;|\u0026nbsp;\u0026nbsp;\u0026nbsp;\n\u003ca href=\"#setup\"\u003eSet-up\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;|\u0026nbsp;\u0026nbsp;\u0026nbsp;\n\u003ca href=\"#demo\"\u003eLive Demo\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;|\u0026nbsp;\u0026nbsp;\u0026nbsp;\n\u003ca href=\"#author\"\u003eAuthor\u003c/a\u003e\n\n## About \u003ca name = \"about\"\u003e\u003c/a\u003e\nTicTacToe is a 3x3 grid dual player game that assignes symbols(Xs,Os) to players. The final outcome is either a tie or a win. There are 8 possible winning combinations from a player, player can win by making 3 consecutive moves either vertically, horizontally or diagonally. A player has maximum of 5 possible moves.\n\n## Rules \u003ca name = \"rules\"\u003e\u003c/a\u003e\n- Players have to enter a name\n- The system assignes a symbol(X or O) to players\n- The player can make moves by pressing a number (of choice) on his/her keyboard\n- The position a player is choosing should not have been taking\n- The move made by a user should be a number otherwise its an invalid move\n- A player can win by making three consecutive moves vertically, horizontally or diagonally\n- If all position has been taken and there is no winner then its a tie(draw)\n For more detailed information on the game rules [click here ](https://www.thesprucecrafts.com/tic-tac-toe-game-rules-412170)\n\n## 🔧 Built with\u003ca name = \"with\"\u003e\u003c/a\u003e\n\n- Ruby\n\n## 🔴 Live Demo \u003ca name = \"demo\"\u003e\u003c/a\u003e\n\n[Run on Repl.it](https://repl.it/@Haroon136/tictactoe#Logic.rb)\n\n\n## 🔨 Setup    \u003ca name = \"setup\"\u003e\u003c/a\u003e\n\n- To clone this repo to your local repository. Follow these steps\n- \u003ccode\u003e git clone https://github.com/Haroonabdulrazaq/tictactoe.git\u003c/code\u003e\n- \u003ccode\u003e cd tictactoe\u003c/code\u003e\n- \u003ccode\u003eruby Logic.rb\u003c/code\u003e\n\n\n## ✒️ Authors \u003ca name = \"author\"\u003e\u003c/a\u003e\n\n👤 **Haroon Abdulrazaq**\n\n- Github: [@Haroonabdulrazaq](https://github.com/Haroonabdulrazaq)\n- Twitter: [@Hanq_o](https://twitter.com/Hanq_o)\n- Linkedin: [Haroonabdulrazaq](https://www.linkedin.com/in/haroonabdulrazaq)\n\n\n## 🤝 Contributing\n\nContributions, issues and feature requests are welcome!\n\nFeel free to check the fork this repo and create pull request if you want to make changes.\n\n\n## 👍 Show your support\n\nGive a ⭐️ if you like this project!\n\n## :thumbsup: Acknowledgements\n\n[theOdinproject](https://theodinproject.com)\n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharoonabdulrazaq%2Ftictactoe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharoonabdulrazaq%2Ftictactoe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharoonabdulrazaq%2Ftictactoe/lists"}