{"id":20970701,"url":"https://github.com/amirsinarz/tetris","last_synced_at":"2026-05-19T04:36:19.654Z","repository":{"id":261253817,"uuid":"883725920","full_name":"AmirSinaRZ/Tetris","owner":"AmirSinaRZ","description":"Classic tetris game developed using c++ and the SDL2 lib","archived":false,"fork":false,"pushed_at":"2024-11-05T14:12:20.000Z","size":42632,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-10T23:57:14.380Z","etag":null,"topics":["cpp","game","sdl2","tetris"],"latest_commit_sha":null,"homepage":"","language":"C","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/AmirSinaRZ.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":"2024-11-05T13:19:43.000Z","updated_at":"2024-11-05T14:12:24.000Z","dependencies_parsed_at":"2024-11-05T15:37:21.497Z","dependency_job_id":null,"html_url":"https://github.com/AmirSinaRZ/Tetris","commit_stats":null,"previous_names":["amirsinarz/tetris"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AmirSinaRZ/Tetris","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmirSinaRZ%2FTetris","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmirSinaRZ%2FTetris/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmirSinaRZ%2FTetris/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmirSinaRZ%2FTetris/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AmirSinaRZ","download_url":"https://codeload.github.com/AmirSinaRZ/Tetris/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmirSinaRZ%2FTetris/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33201971,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"online","status_checked_at":"2026-05-19T02:00:06.763Z","response_time":58,"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":["cpp","game","sdl2","tetris"],"created_at":"2024-11-19T04:00:07.635Z","updated_at":"2026-05-19T04:36:19.637Z","avatar_url":"https://github.com/AmirSinaRZ.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tetris Game\n\nThis is a classic Tetris game developed using C++ and the SDL2 library.\n\n### Prerequisites\n\nMake sure you have the following installed on your machine:\n\n- C++ Compiler (e.g., g++, clang++)\n- SDL2 library + ttf\n\n  Compile the project:\n   ```\n   Ctrl + Shift + B\n   ```\n   *(Adjust the command based on your file structure and setup)*\n\nRun the game:\n   ```bash\n   ./Tetris\n   ```\n\n## Controls\n\n- **Left Arrow**: Move left\n- **Right Arrow**: Move right\n- **Down Arrow**: Move down\n- **Up Arrow**: Rotate Tetromino\n- **Esc**: Close the game\n\n  ## Demo\n  ![image](https://raw.githubusercontent.com/AmirSinaRZ/Tetris/refs/heads/main/Recording%202024-11-05%20164044.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famirsinarz%2Ftetris","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famirsinarz%2Ftetris","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famirsinarz%2Ftetris/lists"}