{"id":15673698,"url":"https://github.com/alancoding/tic_tac_toe","last_synced_at":"2025-02-22T11:43:47.753Z","repository":{"id":144899869,"uuid":"589831288","full_name":"AlanCoding/tic_tac_toe","owner":"AlanCoding","description":"Output from ChatGPT with some modifications which gives tic tac toe","archived":false,"fork":false,"pushed_at":"2023-01-17T03:14:09.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-03T05:39:04.898Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/AlanCoding.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":"2023-01-17T03:13:47.000Z","updated_at":"2023-01-17T03:14:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"9242aab3-5fe8-4890-b652-3d5715c1bcc0","html_url":"https://github.com/AlanCoding/tic_tac_toe","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"c029844e905d0fe2b118bddac68c3cf01218c7cd"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlanCoding%2Ftic_tac_toe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlanCoding%2Ftic_tac_toe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlanCoding%2Ftic_tac_toe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlanCoding%2Ftic_tac_toe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlanCoding","download_url":"https://codeload.github.com/AlanCoding/tic_tac_toe/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240170064,"owners_count":19759143,"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-03T15:41:48.493Z","updated_at":"2025-02-22T11:43:47.731Z","avatar_url":"https://github.com/AlanCoding.png","language":"Python","readme":"### Alan and ChatGPT write tic tac toe\n\nThis is a demo of me working together with ChatGPT to write a game.\n\nImportantly, this is doing it using a library that I have never used myself.\n\n#### Setup\n\nYou need python 3.10. Preferably, do:\n\n```\npython3.10 -m venv env\nsource env/bin/activate\n```\n\nThis is just me that figured that out, I read the docs.\nI don't know if / how ChatGPT could ever assist with that kind of problem.\nJust saying...\n\n#### Run\n\nThis isn't fancy. It assumes it's a 2-player game, which isn't really that fun.\n\n```\npython tic_tac_toe.py\n```\n\nBut it works, and it's not outright painful to use.\nIt conforms to the most basic of user expectations.\n\n#### Weird Stuff\n\nThe strangest thing I had to edit that ChatGPT wrote, was that it _only_\ndrew a rectangle separating the game spaces if neither an X or O had been\nplaced in that spot.\nThat meant that when you placed an X, the border would decrease, and\nwith more placements, the border would go away.\n\nIs that a true bug? Eeeeh, yeah.\nMight a human have introduced the same bug?\nYeah, but they would have played it and seen it become totally obvious.\n\nIt also wanted to close the window in the game loop right after a player won.\nThis is never ever how a real video game would work.\nIt's still maybe arguably correct in a Computer Science 101 test answer kind of way.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falancoding%2Ftic_tac_toe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falancoding%2Ftic_tac_toe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falancoding%2Ftic_tac_toe/lists"}