{"id":31287283,"url":"https://github.com/godsarmy/pterm-tetris","last_synced_at":"2025-09-24T11:03:18.727Z","repository":{"id":315953372,"uuid":"1061364848","full_name":"godsarmy/pterm-tetris","owner":"godsarmy","description":"TUI TETRIS Game implemented in Golang with pterm","archived":false,"fork":false,"pushed_at":"2025-09-21T19:36:14.000Z","size":2362,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-21T21:19:49.742Z","etag":null,"topics":["golang","pterm","tetris","tui"],"latest_commit_sha":null,"homepage":"","language":"Go","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/godsarmy.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-21T19:01:22.000Z","updated_at":"2025-09-21T19:38:21.000Z","dependencies_parsed_at":"2025-09-21T21:20:03.579Z","dependency_job_id":"d7f0b4bc-59e4-4bb9-9588-22ecbc75e32f","html_url":"https://github.com/godsarmy/pterm-tetris","commit_stats":null,"previous_names":["godsarmy/pterm-tetris"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/godsarmy/pterm-tetris","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godsarmy%2Fpterm-tetris","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godsarmy%2Fpterm-tetris/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godsarmy%2Fpterm-tetris/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godsarmy%2Fpterm-tetris/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/godsarmy","download_url":"https://codeload.github.com/godsarmy/pterm-tetris/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godsarmy%2Fpterm-tetris/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276737524,"owners_count":25695700,"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","status":"online","status_checked_at":"2025-09-24T02:00:09.776Z","response_time":97,"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":["golang","pterm","tetris","tui"],"created_at":"2025-09-24T11:01:13.255Z","updated_at":"2025-09-24T11:03:18.722Z","avatar_url":"https://github.com/godsarmy.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TETRIS Game in Golang with pterm\n\nA TUI TETRIS game implemented in Golang with [pterm](https://github.com/pterm/pterm)\nlibrary for terminal rendering.\n\n## Features\n\n- Classic TETRIS gameplay with all 7 tetromino shapes\n- Colorful terminal-based graphics\n- Score tracking and level progression\n- Next piece preview\n- Centered display that adapts to terminal size\n- Proper terminal cleanup when exiting\n\n![TETRIS Game Screenshot](screenshot.png)\n\n## Installation\n\n1. Make sure you have Go installed (version 1.16 or later)\n2. Clone or download this repository\n3. Navigate to the project directory\n\n## Building\n\n```bash\ngo build -o tetris cmd/tetris/main.go\n```\n\n## Running\n\n```bash\ngo run cmd/tetris/main.go\n```\n\nOr if you built the binary:\n\n```bash\n./tetris\n```\n\n## Controls\n\n- **← →** : Move left/right\n- **↑** : Rotate piece\n- **↓** : Soft drop (move down faster)\n- **Space** : Hard drop (instantly drop piece)\n- **+ / -** : Increase / decrease level\n- **g** : Toggle ghost piece (show/hide drop projection)\n- **q** : Quit game\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%2Fgodsarmy%2Fpterm-tetris","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgodsarmy%2Fpterm-tetris","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgodsarmy%2Fpterm-tetris/lists"}