{"id":21638884,"url":"https://github.com/theodoreai/puzzle","last_synced_at":"2025-03-19T01:47:59.533Z","repository":{"id":143478344,"uuid":"345535397","full_name":"TheodoreAI/puzzle","owner":"TheodoreAI","description":null,"archived":false,"fork":false,"pushed_at":"2021-03-16T18:04:45.000Z","size":41078,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T02:48:45.010Z","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/TheodoreAI.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-03-08T04:57:47.000Z","updated_at":"2021-03-16T18:04:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"7230d1f5-3b99-4879-9073-b39ab8389179","html_url":"https://github.com/TheodoreAI/puzzle","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/TheodoreAI%2Fpuzzle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheodoreAI%2Fpuzzle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheodoreAI%2Fpuzzle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheodoreAI%2Fpuzzle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheodoreAI","download_url":"https://codeload.github.com/TheodoreAI/puzzle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244338994,"owners_count":20437167,"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-11-25T04:12:16.299Z","updated_at":"2025-03-19T01:47:59.509Z","avatar_url":"https://github.com/TheodoreAI.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Portfolio Project Description(s):\n\n\nThe Portfolio Project for my CS325 class at OSU.\n\nFor algorithms.py, has the code that checks whether an input will be solvable.\nFor game_gui.py, it builds a game version of 8-puzzle using pygame.  \n\n\n## Running the Program(s):\n    To run the module I used python 3.8: \n        - pip install python3\n    I also used a virtual environment to keep track of all the python versions in my different directories: \n        - python3 -m venv env       # to create env\n        - source env/bin/activate   # to activate the virtual env\n### Installing Requirments: \n    To install requirments you just need to:\n    - pip install -r requirements.txt\n###Following commands on the terminal for each module: \n    For algorithms.py: \n        - python algorithms.py 1,2,3,4,5,6,7,8,0 # to check whether the iteration is solvable. \n    For game_gui.py:\n        - python game_gui.py\n    \n### The n-puzzle is an NP-Complete Problem:\n\nThis means that it has no known Polynomial time algorithm that can find the solution to any inversions of the puzzle.\n\n\n## Result:\n\n\n__The result should be game GUI that lets you know when you have won.__\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheodoreai%2Fpuzzle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheodoreai%2Fpuzzle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheodoreai%2Fpuzzle/lists"}