Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 2.27 KB

README.md

File metadata and controls

42 lines (32 loc) · 2.27 KB

tinymem

Footage

Picture of the game; also zoomed in screenshot

This is how the game looks on real hardware. USB pen drive, microSD and adapter added for size comparison.

live_video.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
how_to_run_tinymem_in_thumby_web_emulator.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.