{"id":51561775,"url":"https://github.com/psykulsk/tetri.sh","last_synced_at":"2026-07-10T11:01:54.341Z","repository":{"id":356696634,"uuid":"869211679","full_name":"psykulsk/tetri.sh","owner":"psykulsk","description":"Simple tetris game in bash","archived":false,"fork":false,"pushed_at":"2026-05-09T08:48:23.000Z","size":427,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-09T10:38:31.207Z","etag":null,"topics":["bash","bash-game","games","shell","shell-scripts","terminal-game","tetris"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/psykulsk.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":"2024-10-07T23:00:25.000Z","updated_at":"2026-05-09T08:48:27.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/psykulsk/tetri.sh","commit_stats":null,"previous_names":["psykulsk/tetri.sh"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/psykulsk/tetri.sh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psykulsk%2Ftetri.sh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psykulsk%2Ftetri.sh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psykulsk%2Ftetri.sh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psykulsk%2Ftetri.sh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/psykulsk","download_url":"https://codeload.github.com/psykulsk/tetri.sh/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psykulsk%2Ftetri.sh/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35329609,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-10T02:00:06.465Z","response_time":60,"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":["bash","bash-game","games","shell","shell-scripts","terminal-game","tetris"],"created_at":"2026-07-10T11:01:52.903Z","updated_at":"2026-07-10T11:01:54.328Z","avatar_url":"https://github.com/psykulsk.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tetri.sh\n\nFeeling your eyelids droop during that never-ending meeting? Or maybe you're ssh'ed into your server, bored out of your mind?\n\ntetri.sh is here for you!\n\n```\ncurl https://raw.githubusercontent.com/psykulsk/tetri.sh/main/tetri.sh -o tetri.sh \u0026\u0026 \\\nbash tetri.sh\n```\n\n```\nusage: ./tetri.sh [-c cols ] [-r rows] [-l start level]\ncontrols: left, right and down arrows for movement, z and x for rotation\n  -h display help\n  -c cols specify game area cols. Make sure it's not higher then the actual terminal's width. \n  -r rows specify game area rows. Make sure it's not higher then the actual terminal's height.\n  -l specify start level. Value from 1-10.\n  Exitting with Ctrl-C automatically cleans the screen.\n```\n\nRequires `bash --version` \u003e= 4.0. **Warning**, MacOS is distributed with bash 3 by default. Check the [instructions](#upgrading-bash-on-macos) on how to upgrade it.\n\n### Other bash games\n* [shnake](https://github.com/psykulsk/shnake)\n* [rubik.sh](https://github.com/psykulsk/rubik.sh)\n\n### Demo\n![](demo.gif)\n\n### Upgrading bash on MacOS\n\n* Install a new version of bash using brew: `brew install bash`\n* Add `/opt/homebrew/bin/bash` to  `/etc/shells`\n* Set is as default with `chsh -s /usr/local/bin/bash`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsykulsk%2Ftetri.sh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpsykulsk%2Ftetri.sh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsykulsk%2Ftetri.sh/lists"}