{"id":17599021,"url":"https://github.com/ozovalihasan/tic-tac-toe","last_synced_at":"2025-10-03T14:36:07.363Z","repository":{"id":114354593,"uuid":"267039059","full_name":"ozovalihasan/tic-tac-toe","owner":"ozovalihasan","description":"An example of object oriented programming by using Ruby","archived":false,"fork":false,"pushed_at":"2020-06-06T09:44:03.000Z","size":210,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-03-21T22:38:13.577Z","etag":null,"topics":["microverse-projects","object-oriented-programming","oop-examples","ruby","ruby-basic","tic-tac-toe"],"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/ozovalihasan.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":"2020-05-26T12:39:29.000Z","updated_at":"2020-06-06T09:44:06.000Z","dependencies_parsed_at":"2023-04-23T08:32:27.394Z","dependency_job_id":null,"html_url":"https://github.com/ozovalihasan/tic-tac-toe","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozovalihasan%2Ftic-tac-toe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozovalihasan%2Ftic-tac-toe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozovalihasan%2Ftic-tac-toe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozovalihasan%2Ftic-tac-toe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ozovalihasan","download_url":"https://codeload.github.com/ozovalihasan/tic-tac-toe/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246243564,"owners_count":20746307,"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":["microverse-projects","object-oriented-programming","oop-examples","ruby","ruby-basic","tic-tac-toe"],"created_at":"2024-10-22T10:08:49.239Z","updated_at":"2025-10-03T14:36:07.283Z","avatar_url":"https://github.com/ozovalihasan.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tic-tac-toe\n\n\n\nThis is a project in the Main Ruby curriculum at [Microverse](https://www.microverse.org/) - @microverseinc .\n\n\n![tic_tac_toe_game](./Screenshot.png)\n\n## Built With\n\n- Ruby\n- Rspec\n\n## Description\n\nThe task was to implement a [Tic Tac Toe game](https://www.theodinproject.com/courses/ruby-programming/lessons/oop).\n\nThis project is mainly about\n\n-  Object Oriented Programming\n-  The [DRY rule](https://en.wikipedia.org/wiki/Don%27t_repeat_yourself)\n\n## How to Play the Game\n* Clone this github repo onto your local machine\n* In the terminal move to the home directory of this repo \n* Type the following commands\n\n  ```\n  cd bin \n  ./main\n  ```\n* Alternatively, you can create an executable script `main` ([Read About How to Create an Executable Script](https://commandercoriander.net/blog/2013/02/16/making-a-ruby-script-executable/)) \n - In order to play the Tic Tac Toe game just run the executable script in the terminal by typing `main` and follow the prompt\n   ```\n   main\n   ```\n\n## Rules of the Game\n\n- Players' names  can be entered at the beginning of the game\n- Players can choose 'X' or 'O' as a symbol\n- To win the game, three identical symbols must be next to each other vertically, horizontally, or diagonally. If there is a winner, the winner will be announced as \"WINNER\"\n- If no one has won by the end of ninth turn, the game will be ended as a \"DRAW\"\n\nFor more information check [Wikipedia](https://en.wikipedia.org/wiki/Tic-tac-toe )\n\n## Live Demo\n\n\n[![Run on Repl.it](https://repl.it/badge/github/ozovalihasan/tic-tac-toe)](https://repl.it/github/ozovalihasan/tic-tac-toe)\n\n## Testing\nTo test the project\n1. Navigate to the directory where the project is located.\n2. Open terminal in this directory.\n3. Install RSpec by using `gem install rspec` command.\n4. Start testing by using `rspec` command.\n\n\n## Authors\n\n👤 **Marylene Sawyer**\n- Github: [@Bluette1](https://github.com/Bluette1)\n- Twitter: [@MaryleneSawyer](https://twitter.com/MaryleneSawyer)\n- Linkedin: [Marylene Sawyer](https://www.linkedin.com/in/marylene-sawyer-b4ba1295/)\n\n👤 **Hasan Özovalı**\n\n- Github: [@ozovalihasan](https://github.com/ozovalihasan)\n- Twitter: [@ozovalihasan](https://twitter.com/ozovalihasan)\n- Linkedin: [Hasan Özovalı](https://www.linkedin.com/in/hasan-ozovali/)\n- Mail: [ozovalihasan@gmail.com](ozovalihasan@gmail.com) \n\n👤 **Prajwal Thapa** \n    \n- LinkedIn: [Prazwal Thapa](www.linkedin.com/in/prazwal-thapa/) \n- GitHub: [@praz99](https://github.com/praz99)\n- E-mail: t.prazwal@gmail.com\n\n## 📝 License\n\nThis project is [MIT](https://opensource.org/licenses/MIT) licensed.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fozovalihasan%2Ftic-tac-toe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fozovalihasan%2Ftic-tac-toe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fozovalihasan%2Ftic-tac-toe/lists"}