{"id":36666810,"url":"https://github.com/alwedo/tetris","last_synced_at":"2026-01-12T10:34:42.870Z","repository":{"id":293270162,"uuid":"976594674","full_name":"alwedo/tetris","owner":"alwedo","description":"Play Tetris from the comfort of your terminal!","archived":false,"fork":false,"pushed_at":"2025-12-06T17:08:27.000Z","size":288,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-16T04:37:50.196Z","etag":null,"topics":["go","golang","grpc","grpc-go","terminal","terminal-based","terminal-game","tetris","tetris-game","tetris-go"],"latest_commit_sha":null,"homepage":"","language":"Go","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/alwedo.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-05-02T11:47:20.000Z","updated_at":"2025-12-06T17:08:27.000Z","dependencies_parsed_at":"2025-05-14T14:44:53.406Z","dependency_job_id":"3cf13df6-5dca-4baf-a1d6-839eae908e82","html_url":"https://github.com/alwedo/tetris","commit_stats":null,"previous_names":["alvaroalonsobabbel/tetris","alwedo/tetris"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/alwedo/tetris","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alwedo%2Ftetris","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alwedo%2Ftetris/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alwedo%2Ftetris/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alwedo%2Ftetris/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alwedo","download_url":"https://codeload.github.com/alwedo/tetris/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alwedo%2Ftetris/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28338568,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["go","golang","grpc","grpc-go","terminal","terminal-based","terminal-game","tetris","tetris-game","tetris-go"],"created_at":"2026-01-12T10:34:42.430Z","updated_at":"2026-01-12T10:34:42.863Z","avatar_url":"https://github.com/alwedo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terminal Tetris\n\n![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/alwedo/tetris) ![Test](https://github.com/alwedo/tetris/actions/workflows/test.yml/badge.svg) ![Latest Release](https://img.shields.io/github/v/release/alwedo/tetris?color=blue\u0026label=Latest%20Release)\n\nPlay Tetris from the comfort of your terminal!\n\n![example](./doc/example.gif)\n\n⚠️ this assumes you know how to use the terminal! If you don't you can find out how [here](https://www.google.com/search?q=how+to+use+the+terminal).\n\n## Install\n\nFor Apple computers with ARM chips you can use the provided installer. For any other OS you'll have to compile the binary yourself.\n\n### ARM (Apple Silicon)\n\nOpen the terminal and run:\n\n```bash\ncurl -sSL https://raw.githubusercontent.com/alwedo/tetris/main/bin/install.sh | bash\n```\n\n- You'll be required to enter your admin password.\n- You might be required to allow the program to run in the _System Settings - Privavacy \u0026 Security_ tab.\n\n### Compiling the binary yourself\n\n1. [Install Go](https://go.dev/doc/install)\n2. Clone the repo `git clone git@github.com:alwedo/tetris.git`\n3. CD into the repo `cd tetris`\n4. Run the program `make run-tetris`\n\n## Multiplyer\n\nYes, Terminal Tetris allows you to battle your way out against another person! Every time you complete a line, the opponent's speed will increase by one level, creating a fast-paced multiplayer experience.\n\nTetris server is a minimalistic server implementation that uses gRPC bidirectional streaming to allow clients to play tetris against each other.\n\n### Connect to my own server (while it last)\n```bash\ntetris -address=\"52.50.114.171\" -name=\"your_name\"\n```\n### Create your own server\n\nYou can either run the server in your local host:\n```bash\nmake run-server\n```\n\nOr you can run it inside of a container:\n```bash\nmake docker-build\n```\n\nThe server will listen to TCP connections over the port *9000*. How to expose the port for others to join you locally is beyond the scope of this document. However you can look at tools like [ngrok](https://ngrok.com/).\n\n## Options\n\nDisables Ghost piece.\n\n```bash\ntetris -noghost\n```\n\nEnables debug logs into `~/.tetrisLog`.\n\n```bash\ntetris -debug\n```\n\nPrints current version.\n\n```bash\ntetris -version\n```\n\nSets player's name for Online mode.\n\n```bash\ntetris -name=\"YOUR_NAME\"\n```\n\nSets the server address for Online mode.\n\n```bash\ntetris -address=\"YOUR_SERVER_ADDRESS\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falwedo%2Ftetris","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falwedo%2Ftetris","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falwedo%2Ftetris/lists"}