{"id":23104141,"url":"https://github.com/extraltodeus/pytris","last_synced_at":"2025-04-03T22:11:26.200Z","repository":{"id":174895238,"uuid":"241395292","full_name":"Extraltodeus/Pytris","owner":"Extraltodeus","description":"A tetris I made some time ago. It has all the functionnalities of a modern Tetris :)","archived":false,"fork":false,"pushed_at":"2020-02-18T17:53:45.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-09T09:44:28.615Z","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/Extraltodeus.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-02-18T15:22:40.000Z","updated_at":"2020-02-18T17:53:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"3c4c6505-2d6f-49f9-b800-5db7d0f0c340","html_url":"https://github.com/Extraltodeus/Pytris","commit_stats":null,"previous_names":["extraltodeus/pytris"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Extraltodeus%2FPytris","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Extraltodeus%2FPytris/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Extraltodeus%2FPytris/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Extraltodeus%2FPytris/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Extraltodeus","download_url":"https://codeload.github.com/Extraltodeus/Pytris/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247086030,"owners_count":20881160,"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-12-17T00:31:34.070Z","updated_at":"2025-04-03T22:11:26.162Z","avatar_url":"https://github.com/Extraltodeus.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pytris\nA tetris I made some time ago. It has all the functionnalities of a modern Tetris\n\n## Dependancies :\npygame : pip install pygame\n\nnumpy  : pip install numpy\n\n## How to start it :\npython3 pytris.py\n\nor on Windows you can simply double-click on pytris.py\n\n## Controls :\nA : Swap current tetromino with reserve\n\nS : Rotate left\n\nD : Rotate right\n\nW : Rotate 180°\n\nR : Reset game\n\nArrow Up : Instant fall\n\nArrow Down : Fast fall\n\nArrow Left/Right : Left/Right\n\nSpace : Pause/Unpause\n\nEscape : Quit\n\n## Additional info :\nThe tetris.py file contains the Tetris class, which could be used to render a Tetris game in any way you want.\n\nThe pytris.py file is a quickly done script using pygame that uses this class.\n\n## A screenshot :\n![](https://i.imgur.com/C4kiFO9.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fextraltodeus%2Fpytris","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fextraltodeus%2Fpytris","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fextraltodeus%2Fpytris/lists"}