{"id":28394939,"url":"https://github.com/alexiii/t-rex-duino","last_synced_at":"2025-08-18T15:04:56.483Z","repository":{"id":123488012,"uuid":"261486138","full_name":"AlexIII/t-rex-duino","owner":"AlexIII","description":"Clone of T-rex game from Chrome browser rewritten for Arduino","archived":false,"fork":false,"pushed_at":"2020-10-11T12:31:51.000Z","size":8956,"stargazers_count":101,"open_issues_count":3,"forks_count":16,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-06-27T01:39:04.695Z","etag":null,"topics":["arduino","arduino-game","diy","novelty"],"latest_commit_sha":null,"homepage":null,"language":"C","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/AlexIII.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}},"created_at":"2020-05-05T13:54:31.000Z","updated_at":"2025-06-18T20:48:09.000Z","dependencies_parsed_at":"2024-08-01T01:15:27.046Z","dependency_job_id":null,"html_url":"https://github.com/AlexIII/t-rex-duino","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/AlexIII/t-rex-duino","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexIII%2Ft-rex-duino","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexIII%2Ft-rex-duino/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexIII%2Ft-rex-duino/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexIII%2Ft-rex-duino/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlexIII","download_url":"https://codeload.github.com/AlexIII/t-rex-duino/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexIII%2Ft-rex-duino/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271011773,"owners_count":24684404,"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-08-18T02:00:08.743Z","response_time":89,"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":["arduino","arduino-game","diy","novelty"],"created_at":"2025-05-31T19:09:15.066Z","updated_at":"2025-08-18T15:04:56.472Z","avatar_url":"https://github.com/AlexIII.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# T-Rex-duino\n\n\u003cimg width=\"350\" align=\"right\" src=\"img/t-rex-demo-3.gif\" /\u003e\n\nClone of T-rex game from Chrome browser rewritten for Arduino.\n\nJust 3 components needed:\n\n- Arduino Uno / Nano / Pro Mini\n- OLED display 128x64 SSD1309\n- A button (or two, if you want to duck!)\n\n[Youtube video](https://www.youtube.com/watch?v=635SnybBRD8)\n\n**Update**\n\nNow supporting SH1106/SSD1306 based I2C OLED display!\n\n## Instructions\n\n0. Assemble\n\n\u003cimg width=\"600\" src=\"img/sch.png\" /\u003e\n\n1. Flash [that sketch](https://github.com/AlexIII/t-rex-duino/releases/download/v1.1/Arduino-sketch-t-rex-duino-v1.1.zip) to your Arduino\n2. Play!\n3. Repeat from step 2\n\n## Using OLED display SH1106/SSD1306 I2C\n\n\u003cimg width=\"250\" src=\"img/t-rex-demo-sh1106.gif\" /\u003e\n\n0. In order to use SH1106/SSD1306 you will need to add two 470 ohm resistors to the display board. \nYou can add these resistors right on top of 10k resistors that already present (or replace them).\n\n\u003cimg width=\"250\" src=\"img/res-mod-sh1106.jpg\" /\u003e\n\n1. Assemble\n\n\u003cimg width=\"600\" src=\"img/sch-sh1106.png\" /\u003e\n\n2. Select OLED display type at the beginning of `t-rex-duino.ino` sketch by uncommenting one of the following lines (SSD1309 selected by default).\n```\n//#define LCD_SSD1309\n//#define LCD_SH1106\n//#define LCD_SSD1306\n```\nFlash the sketch.\n\nNote that in order to achieve desirable performance I2C is substantially overclocked (it works at 800kHz vs 400kHz as per display specification).\nIt is possible that not every display will work under these conditions.\nThe display I have works fine mostly, but a stray broken frame still appears now and then.\nAs much as I can assume **small artifacts are unavoidable with this display**.\n\n## License\n\nMIT License © github.com/AlexIII\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexiii%2Ft-rex-duino","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexiii%2Ft-rex-duino","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexiii%2Ft-rex-duino/lists"}