Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/isaacbernat/tinymem
Thumby game inspired by Simon where players use their tiny memory
https://github.com/isaacbernat/tinymem
game hacktoberfest micropython python simon simon-game thumby
Last synced: 18 days ago
JSON representation
Thumby game inspired by Simon where players use their tiny memory
- Host: GitHub
- URL: https://github.com/isaacbernat/tinymem
- Owner: isaacbernat
- License: mit
- Created: 2021-10-16T19:10:34.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-10T23:06:23.000Z (about 1 year ago)
- Last Synced: 2024-11-23T21:46:13.345Z (about 1 month ago)
- Topics: game, hacktoberfest, micropython, python, simon, simon-game, thumby
- Language: Python
- Homepage:
- Size: 43 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tinymem
- [Thumby](https://thumby.us/) Simon-inspired game where players test their tiny short term memory.
- 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.## Footage
This is how the game looks on real hardware. USB pen drive, microSD and adapter added for size comparison.
https://user-images.githubusercontent.com/2509809/194734050-b08deefd-cbbf-4409-b41d-31215352f38c.mp4
Video using a real device above. Audio volume is low and the image blurry (feel free to add a PR with a better recording).
## How to play?
- Repeat key sequences (hard->arrows; easy->buttons) following sounds and screen indications.
- You can try it on a [Thumby emulator here](https://code.thumby.us/)https://user-images.githubusercontent.com/2509809/183148998-b59710fb-eb5c-4f07-8ce5-5c32f16d5ef1.mp4
## Why?
I wanted to create a game as a Proof of Concept that:- Is simple to understand (code):
- Less than 50 lines of MicroPython (not PEP8-compliant though ^_^').
- No single function is over a dozen lines.
- Maximum code nesting depth is 3.
- Could be used as an example/inspiration of how easy it is to program/make games ;D.- Is simple to play:
- The game this is based on has been around for decades and is already part of popular culture.
- Since it's turn based, it doesn't depend on hand dexterity, coordination or fast reaction times.- Uses many Thumby features:
- Audio (had to play around different frequency bands. Many are inaudible at arms distance).
- D-pad.
- Buttons (for those who like to think in binary :D).
- Sprites (non-moving, and just one ^_^).
- Text (using default font).
- Link Cable... ok this I haven't... I couldn't decide between a couple of ideas:
- a) one player, two controllers. That is: not only which button matters, but also which Thumby you click!
- b) versus game, one player choses the new element of the sequence every time. That is, instead of being random.
- Did I miss sth relevant? E.g. setting different FPS.