{"id":20872348,"url":"https://github.com/noatpad/tetripi","last_synced_at":"2026-04-20T08:32:13.330Z","repository":{"id":211163180,"uuid":"721969477","full_name":"noatpad/tetripi","owner":"noatpad","description":"A grad project to develop Tetris to be played on an LED matrix","archived":false,"fork":false,"pushed_at":"2023-12-06T19:15:47.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T15:50:25.166Z","etag":null,"topics":["raspberry-pi","tetris"],"latest_commit_sha":null,"homepage":"","language":"Python","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/noatpad.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}},"created_at":"2023-11-22T06:49:33.000Z","updated_at":"2025-01-07T00:50:52.000Z","dependencies_parsed_at":"2023-12-06T21:28:05.726Z","dependency_job_id":"4d8aaf13-0cfe-4a32-9f39-b4e9868e067a","html_url":"https://github.com/noatpad/tetripi","commit_stats":null,"previous_names":["noatpad/tetripi"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/noatpad/tetripi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noatpad%2Ftetripi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noatpad%2Ftetripi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noatpad%2Ftetripi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noatpad%2Ftetripi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noatpad","download_url":"https://codeload.github.com/noatpad/tetripi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noatpad%2Ftetripi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28024515,"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-12-25T02:00:05.988Z","response_time":58,"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":["raspberry-pi","tetris"],"created_at":"2024-11-18T06:18:42.716Z","updated_at":"2025-12-25T08:18:00.981Z","avatar_url":"https://github.com/noatpad.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tetripi\n\u003e a final project for my graduate Hardware System Design course. in a nutshell, it's a box that plays Tetris! Mostly!\n\n![IMG_6420](https://github.com/noatpad/tetripi/assets/21282515/9fa472ec-f5cf-40dd-9777-4d14769498c5)\n\nTetripi is a little program that runs Tetris on a Raspberry Pi, encased in a little arcade box. It makes use of a [16x8 LED Matrix]([url](https://www.adafruit.com/product/2040)https://www.adafruit.com/product/2040) to display the board and some buttons to control the game. It also features a power switch on the side to \"turn off\" the game (in reality, it is placed in standby mode) and turn it back on. A piezo buzzer is also used to provide audio feedback to the player.\n\nTo run the game, simply run on the command line `python tetripi.py` (using Python 3.x) and play as far as you can!\n\nThe following components were used:\n- [16x8 LED Matrix + Backpack](https://www.adafruit.com/product/2040) (GPIO pins 2 and 3 for I2C) - Displays the tetris board\n- [6 LED Pushbuttons](https://www.adafruit.com/product/1439) - Moves, rotates, and drops the active piece on the board. Each button is wired to 2 GPIO pins, one for input and the other for its LED\n  - Up button uses pins GPIO pin 16 for input and GPIO pin 19 for light\n  - Left button uses pins 5 and 6\n  - Right button uses pins 20 and 21\n  - Down button uses pins 12 and 13\n  - A button (the right, blue button) uses pins 17 and 18\n  - B button (the left, blue button) uses pins 23 and 24\n- [Slide switch](https://www.adafruit.com/product/805) (GPIO pin 27) - Powers on and off the game\n- [Piezo buzzer](https://www.adafruit.com/product/160) (GPIO pin 22) - Provides audio feedback to the player\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoatpad%2Ftetripi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoatpad%2Ftetripi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoatpad%2Ftetripi/lists"}