{"id":40379652,"url":"https://github.com/olzhasar/sdl-tetris","last_synced_at":"2026-01-20T12:01:23.740Z","repository":{"id":136792168,"uuid":"338555393","full_name":"olzhasar/sdl-tetris","owner":"olzhasar","description":"Tetris game implemented with C and SDL-2","archived":false,"fork":false,"pushed_at":"2024-01-25T17:04:41.000Z","size":1617,"stargazers_count":20,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-01-25T18:28:14.665Z","etag":null,"topics":["c","emscripten","emscripten-game","game","sdl","sdl2","tetris","wasm","webassembly"],"latest_commit_sha":null,"homepage":"https://olzhasar.github.io/sdl-tetris/","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/olzhasar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-02-13T11:05:09.000Z","updated_at":"2024-01-21T08:25:00.000Z","dependencies_parsed_at":"2024-01-25T18:28:13.596Z","dependency_job_id":"3badc527-679b-40a9-b624-4d45e6b8c6f0","html_url":"https://github.com/olzhasar/sdl-tetris","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/olzhasar/sdl-tetris","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olzhasar%2Fsdl-tetris","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olzhasar%2Fsdl-tetris/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olzhasar%2Fsdl-tetris/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olzhasar%2Fsdl-tetris/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/olzhasar","download_url":"https://codeload.github.com/olzhasar/sdl-tetris/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olzhasar%2Fsdl-tetris/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28603295,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T10:46:13.255Z","status":"ssl_error","status_checked_at":"2026-01-20T10:42:51.865Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["c","emscripten","emscripten-game","game","sdl","sdl2","tetris","wasm","webassembly"],"created_at":"2026-01-20T12:01:10.204Z","updated_at":"2026-01-20T12:01:23.716Z","avatar_url":"https://github.com/olzhasar.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SDL Tetris\n\nAn implementation of the classic [Tetris game](https://en.wikipedia.org/wiki/Tetris) in the C programming language using the [SDL-2 library](https://www.libsdl.org/)\n\n## WebAssembly\n\nThe game has been ported to WebAssembly using [Emscripten](https://emscripten.org/)\n\nCheck out the [Live Demo](https://olzhasar.github.io/sdl-tetris/)\n\n## Desktop preview\n\n![Preview](preview.gif)\n\n## Installation\n\n1. Clone this repository to your system:\n\n```sh\ngit clone https://github.com/olzhasar/sdl-tetris.git\n```\n\n2. [Install](https://wiki.libsdl.org/SDL2/Installation) SDL2 and SDL2_ttf on your machine\n\n- On MacOS you can use Homebrew:\n\n```sh\nbrew install sdl2 sdl2_ttf\n```\n\n3. Compile and run the project code with make\n\n```sh\ncd sdl-tetris\nmake\n```\n\n## Controls\n\n- Rotate: Up arrow, W\n- Move Left: Left arrow, A\n- Move Right: Right arrow, D\n- Soft Drop: Down arrow, S\n- Hard drop: Space\n- Quit: ESC\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folzhasar%2Fsdl-tetris","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Folzhasar%2Fsdl-tetris","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folzhasar%2Fsdl-tetris/lists"}