{"id":32521540,"url":"https://github.com/aaronriekenberg/go-tetris","last_synced_at":"2025-10-28T06:29:24.982Z","repository":{"id":199116093,"uuid":"702173142","full_name":"aaronriekenberg/go-tetris","owner":"aaronriekenberg","description":"Terminal UI and WebAssembly tetris in go using tcell.  Works in everything from xterm to Chrome/Safari.","archived":false,"fork":false,"pushed_at":"2025-10-25T21:24:30.000Z","size":2328,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-25T22:26:49.672Z","etag":null,"topics":["go","tcell","terminal","tetris-clone","tui","wasm","webassemby"],"latest_commit_sha":null,"homepage":"https://aaronriekenberg.github.io/go-tetris/","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/aaronriekenberg.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":"2023-10-08T17:51:52.000Z","updated_at":"2025-10-25T21:24:33.000Z","dependencies_parsed_at":"2023-12-16T10:34:20.917Z","dependency_job_id":"61653139-29ee-4d06-b64e-e691134b8a33","html_url":"https://github.com/aaronriekenberg/go-tetris","commit_stats":null,"previous_names":["aaronriekenberg/go-tetris"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aaronriekenberg/go-tetris","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronriekenberg%2Fgo-tetris","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronriekenberg%2Fgo-tetris/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronriekenberg%2Fgo-tetris/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronriekenberg%2Fgo-tetris/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aaronriekenberg","download_url":"https://codeload.github.com/aaronriekenberg/go-tetris/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronriekenberg%2Fgo-tetris/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281397332,"owners_count":26493908,"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-10-28T02:00:06.022Z","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":["go","tcell","terminal","tetris-clone","tui","wasm","webassemby"],"created_at":"2025-10-28T06:29:23.299Z","updated_at":"2025-10-28T06:29:24.977Z","avatar_url":"https://github.com/aaronriekenberg.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-tetris\n\nTUI and WASM tetris in go using [tcell](https://github.com/gdamore/tcell).\n\nCan be used either in a terminal as a native app, or as a [WASM app](https://github.com/gdamore/tcell/blob/main/README-wasm.md) in a web browser.\n\n## Run WASM app in a web browser:\n\n- https://aaronriekenberg.github.io/go-tetris/\n- Automatic deploy to github pages on every commit by [github actions](https://github.com/aaronriekenberg/go-tetris/actions)\n\n## Run native terminal app:\n\n- Usual `go` commands work:\n\n```\ngo run github.com/aaronriekenberg/go-tetris@latest\n\ngo install github.com/aaronriekenberg/go-tetris@latest\n```\n\n- Clone this git repo, build with `go build`, run `go-tetris`\n\n\n## Keys:\n\n- Escape, Q: quit (non-WASM only)\n- R: restart\n- Left Arrow: move piece left\n- Right Arrow: move piece right\n- Up Arrow: rotate piece\n- Down Arrow: move piece down\n- Space Bar: drop piece\n- V: toggle showing version info\n\n## Finger/Mouse Events:\n\n- Click above board: rotate piece\n- Click below board: move piece down\n- Double click below board: drop piece\n- Click near left of board: move current piece left\n- Click near right of board: move current pice right\n\n## Screenshots:\n\nNative app in iTerm2:\n![go-tetris-native](go-tetris-native.png)\n\nWASM in Chrome:\n![go-tetris-wasm](go-tetris-wasm.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronriekenberg%2Fgo-tetris","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faaronriekenberg%2Fgo-tetris","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronriekenberg%2Fgo-tetris/lists"}