{"id":16651254,"url":"https://github.com/isaacbernat/tinymem","last_synced_at":"2025-04-09T17:25:28.861Z","repository":{"id":47430983,"uuid":"417922868","full_name":"isaacbernat/tinymem","owner":"isaacbernat","description":"Thumby game inspired by Simon where players use their tiny memory","archived":false,"fork":false,"pushed_at":"2023-11-10T23:06:23.000Z","size":44,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T19:39:04.340Z","etag":null,"topics":["game","hacktoberfest","micropython","python","simon","simon-game","thumby"],"latest_commit_sha":null,"homepage":"","language":"Python","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/isaacbernat.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}},"created_at":"2021-10-16T19:10:34.000Z","updated_at":"2022-11-01T04:45:21.000Z","dependencies_parsed_at":"2024-12-06T08:37:58.907Z","dependency_job_id":null,"html_url":"https://github.com/isaacbernat/tinymem","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isaacbernat%2Ftinymem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isaacbernat%2Ftinymem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isaacbernat%2Ftinymem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isaacbernat%2Ftinymem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/isaacbernat","download_url":"https://codeload.github.com/isaacbernat/tinymem/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248075904,"owners_count":21043663,"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","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":["game","hacktoberfest","micropython","python","simon","simon-game","thumby"],"created_at":"2024-10-12T09:24:23.157Z","updated_at":"2025-04-09T17:25:28.841Z","avatar_url":"https://github.com/isaacbernat.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tinymem\n- [Thumby](https://thumby.us/) Simon-inspired game where players test their tiny short term memory.\n- I presented the game at PyDayBCN and there's a [companion repository with slides](https://github.com/isaacbernat/presentations/tree/master/tinymem) with further commentary.\n\n## Footage\n\u003cimg width=\"1253\" alt=\"Picture of the game; also zoomed in screenshot\" src=\"https://user-images.githubusercontent.com/2509809/183260970-860f0c97-1312-4bf9-8b8d-ea85ed24f0b8.png\"\u003e\n\nThis is how the game looks on real hardware. USB pen drive, microSD and adapter added for size comparison.\n\nhttps://user-images.githubusercontent.com/2509809/194734050-b08deefd-cbbf-4409-b41d-31215352f38c.mp4\n\nVideo using a real device above. Audio volume is low and the image blurry (feel free to add a PR with a better recording).\n\n## How to play?\n- Repeat key sequences (hard-\u003earrows; easy-\u003ebuttons) following sounds and screen indications.\n- You can try it on a [Thumby emulator here](https://code.thumby.us/)\n\nhttps://user-images.githubusercontent.com/2509809/183148998-b59710fb-eb5c-4f07-8ce5-5c32f16d5ef1.mp4\n\n## Why?\nI wanted to create a game as a Proof of Concept that:\n\n- Is simple to understand (code):\n    - Less than 50 lines of MicroPython (not PEP8-compliant though ^_^').\n    - No single function is over a dozen lines.\n    - Maximum code nesting depth is 3.\n    - Could be used as an example/inspiration of how easy it is to program/make games ;D.\n\n- Is simple to play:\n    - The game this is based on has been around for decades and is already part of popular culture.\n    - Since it's turn based, it doesn't depend on hand dexterity, coordination or fast reaction times.\n\n- Uses many Thumby features:\n    - Audio (had to play around different frequency bands. Many are inaudible at arms distance).\n    - D-pad.\n    - Buttons (for those who like to think in binary :D).\n    - Sprites (non-moving, and just one ^_^).\n    - Text (using default font).\n    - Link Cable... ok this I haven't... I couldn't decide between a couple of ideas:\n        - a) one player, two controllers. That is: not only which button matters, but also which Thumby you click!\n        - b) versus game, one player choses the new element of the sequence every time. That is, instead of being random.\n    - Did I miss sth relevant? E.g. setting different FPS.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisaacbernat%2Ftinymem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fisaacbernat%2Ftinymem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisaacbernat%2Ftinymem/lists"}