{"id":17525397,"url":"https://github.com/vagyasri/hangman","last_synced_at":"2025-09-05T20:34:07.951Z","repository":{"id":118623494,"uuid":"371106178","full_name":"Vagyasri/Hangman","owner":"Vagyasri","description":"In this Project, I have created the hangman game for practicing Ruby basics.","archived":false,"fork":false,"pushed_at":"2021-05-31T14:08:38.000Z","size":7,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"Develop","last_synced_at":"2025-05-30T20:45:49.329Z","etag":null,"topics":["game","ruby"],"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/Vagyasri.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":"2021-05-26T16:47:14.000Z","updated_at":"2022-03-29T14:39:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"ba45377a-d47b-411b-bc35-a076d11381e6","html_url":"https://github.com/Vagyasri/Hangman","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"Vagyasri/Ruby-template","purl":"pkg:github/Vagyasri/Hangman","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vagyasri%2FHangman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vagyasri%2FHangman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vagyasri%2FHangman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vagyasri%2FHangman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vagyasri","download_url":"https://codeload.github.com/Vagyasri/Hangman/tar.gz/refs/heads/Develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vagyasri%2FHangman/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273815969,"owners_count":25173344,"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","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"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":["game","ruby"],"created_at":"2024-10-20T14:43:11.000Z","updated_at":"2025-09-05T20:34:07.923Z","avatar_url":"https://github.com/Vagyasri.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](https://img.shields.io/badge/Microverse-blueviolet)\n\n# Tic-Tac-Toe\n\n\u003e We built a tic-tac-toe game on the command line where two human players can play against each other and the board is displayed in between turns.\n\n\u003e Tic-tac-toe is a game for two players, X and O, who take turns marking the spaces in a 3×3 grid. The player who succeeds in placing three of their marks in a diagonal, horizontal, or vertical row is the winner. \n\n## Built With\n\n- Ruby\n- Rspec\n\n## Getting Started\n\n### To get a local copy run the following steps:\n\n- [Copy this link](https://github.com/Vagyasri/Tic-Tac-Toe.git)\n- Open your terminal or command line\n- Run \"git clone [Paste this link](https://github.com/Vagyasri/Tic-Tac-Toe.git)\"\n\n## How to set up tests\n\n- Boot up your terminal and punch in \"gem install rspec\" to install RSpec\n- You can verify your version of RSpec with \"rspec --version\"\n- cd into project directory \"Tic-Tac-Toe\" and type \"rspec --init\" to initialize RSpec within the project\n- This will generate two files, \".rspec\" and \"spec/spec_helper.rb\"\n- You can create the ruby test file inside the sprc directory (eg: logic_spec.rb, player_spec.rb)\n\n## How to run tests\n\n- You can simply run \"rspec\" in the terminal by cd into the directory in order torun the tests\n- You can also run \"rspec file-path\" for the particular file you want to test from the directory\n- You can run \"rubocop\" inorder to check the linter errors\n\n## How to play \"Tic-Tac-Toe\"\n\n- This game can be played between any two people.\n- Run \"ruby main.rb\" in your terminal\n- Initially, it will be asked to enter your names (for player 1 and player 2)\n- You can enter minimum two characters of your name to move forward\n- The first player will play with '❌' and the other with '⭕️'\n- It will be player turnwise, Player 1 goes first, then Player 2, then again Player 1, likewise until you reach the following condition\n- For winning this game, one has to create a row/column/diagonal of three '❌'s or '⭕️'s first\n- If no one will be able to make so, it will be a tie and will ask for continuing another match or quit the game\n\n#### Tip: If you're going first, then the best move you can make is to move into the center. This will maximize your chances of winning\n\n   ### 🎊 🎉 Have fun 🎊 🎉\n\n## Author\n\n👤 **Bhagyashree Patra**\n\n- GitHub: [@Vagyasri](https://github.com/Vagyasri)\n- Twitter: [@Vagyasri](https://twitter.com/Vagyasri)\n- LinkedIn: [Bhagyashree Patra](https://www.linkedin.com/in/bhagyashree-patra-029bb059/)\n\n## 🤝 Contributing\n\nContributions, issues, and feature requests are welcome!\n\nStart by:\n\n- Forking the project\n- Cloning the project to your local machine\n- Run git checkout -b your-branch-name\n- Make your contributions\n- Push your branch up to your forked repository\n- Open a Pull Request with a detailed description to the development branch of the original project for a review\n\nFeel free to check the [issues page](https://github.com/Vagyasri/Tic-Tac-Toe/issues), contribute to the Project by creating an issue.\n\n\n## Show your support\n\nGive a ⭐️ if you like this project!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvagyasri%2Fhangman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvagyasri%2Fhangman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvagyasri%2Fhangman/lists"}