{"id":17831242,"url":"https://github.com/fluke/tictactoe","last_synced_at":"2025-07-14T06:01:54.975Z","repository":{"id":69463491,"uuid":"363629287","full_name":"fluke/tictactoe","owner":"fluke","description":null,"archived":false,"fork":false,"pushed_at":"2021-05-10T16:44:31.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T12:19:10.081Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/fluke.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-02T11:00:36.000Z","updated_at":"2021-05-02T11:03:21.000Z","dependencies_parsed_at":"2023-02-22T23:31:28.371Z","dependency_job_id":null,"html_url":"https://github.com/fluke/tictactoe","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/fluke/tictactoe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluke%2Ftictactoe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluke%2Ftictactoe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluke%2Ftictactoe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluke%2Ftictactoe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fluke","download_url":"https://codeload.github.com/fluke/tictactoe/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluke%2Ftictactoe/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265248177,"owners_count":23734177,"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":[],"created_at":"2024-10-27T19:42:39.273Z","updated_at":"2025-07-14T06:01:54.453Z","avatar_url":"https://github.com/fluke.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tic Tac Toe\n\n## Running\n\nTo run the game, run the command `ruby tictactoe.rb`. The grid follows the usual X and Y axis grid. Like follows:\n\n```\n2  * * *\n1  * * *\n0  * * *\nY\n X 0 1 2\n```\n\nSteps:\n- The game will ask if you want to play against the computer and if you want to play against a hard or easy computer.\n- Depending on the previous answer, the game will ask for one or two player names.\n- Players take turns. You have to input the coordinates based on the X and Y axis grid above.\n- When the game is over, the result will be announced.\n\n## Project Structure\n\nThe project is structured as following:\n- lib: This is the folder with all the object classes. Including the classes for the Grid and Player objects.\n- services: This folder contains the services that contain the domain logic for the game.\n- test: This folder contains tests for all the classes.\n\n## Testing\n\nThe tests are written in minitest. You can run the entire suite with the command `ruby -Itest -e 'ARGV.each { |f| require f }' ./test/**/*_test.rb`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluke%2Ftictactoe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffluke%2Ftictactoe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluke%2Ftictactoe/lists"}