{"id":13668612,"url":"https://github.com/vitaviva/compose-tetris","last_synced_at":"2025-04-27T01:31:28.058Z","repository":{"id":42699836,"uuid":"354306491","full_name":"vitaviva/compose-tetris","owner":"vitaviva","description":"🧱  A tetris game fully built using Jetpack Compose","archived":false,"fork":false,"pushed_at":"2024-03-22T19:23:38.000Z","size":4042,"stargazers_count":804,"open_issues_count":3,"forks_count":168,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-11-11T05:38:05.271Z","etag":null,"topics":["android-game","jetpack-compose","mvi-architecture","tetris-game"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/vitaviva.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-03T14:02:09.000Z","updated_at":"2024-11-09T11:07:44.000Z","dependencies_parsed_at":"2024-08-02T08:04:23.319Z","dependency_job_id":"a180f726-8013-4e1c-bda1-1c76dab83078","html_url":"https://github.com/vitaviva/compose-tetris","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/vitaviva%2Fcompose-tetris","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitaviva%2Fcompose-tetris/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitaviva%2Fcompose-tetris/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitaviva%2Fcompose-tetris/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vitaviva","download_url":"https://codeload.github.com/vitaviva/compose-tetris/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251076934,"owners_count":21532602,"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":["android-game","jetpack-compose","mvi-architecture","tetris-game"],"created_at":"2024-08-02T08:00:43.421Z","updated_at":"2025-04-27T01:31:23.027Z","avatar_url":"https://github.com/vitaviva.png","language":"Kotlin","funding_links":[],"categories":["Miscellaneous"],"sub_categories":[],"readme":"# Compose Tetris\n\nEnglish | [中文介绍](https://github.com/vitaviva/compose-tetris/blob/master/README_zh.md)\n\n![](https://img.shields.io/badge/jetpack_compose-1.0.0_beta02-green.svg)\n![](https://img.shields.io/badge/min_sdk_versioin-21-orange.svg)\n\n## :scroll: Description\n\nA tetris game fully built using [Jetpack Compose](https://developer.android.com/jetpack/compose), almost all UI elements are created by code, including the following app icon, which is also generated by Composable with @Preview.\n\n\n\u003cimg src=\"app/src/main/res/drawable/ic_launcher.png\" width=110 align=left hspace=\"10\" vspace=\"10\"  \u003e\n\n\n- MVI architecture\n- Simulate appearance of LCD screen\n- Game sound and clock\n- Inspired by [react-tetris](https://github.com/chvin/react-tetris/blob/master/README-EN.md)\n\nDownload latest APK [here](https://github.com/vitaviva/compose-tetris/actions)\n\n#### Game Rules：\n- 100 points for 1 line, 300 points for 2 lines, 700 points for 3 lines, 1500 points for 4 lines;\n- The drop speed of the box increases with the number of rows eliminated (one level for every 20 lines);\n\n\n\u003cbr/\u003e\n\n## :nut_and_bolt: MVI Architecture:\n\n\u003cimg src=\"/results/mvi_arch.png\"\u003e\n\n\u003cbr/\u003e\n\n## :camera_flash: Screenshots\n\u003cimg src=\"/results/screenshot.gif\" width=\"480\"\u003e\n\n\n## License\n```\nMIT License\n\nCopyright (c) 2021 fundroid\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitaviva%2Fcompose-tetris","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvitaviva%2Fcompose-tetris","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitaviva%2Fcompose-tetris/lists"}