Tetris on LEDs? Yes please.
From Pieces of Pi:
My latest bit of nonsense!
An implementation of Tetris on the Raspberry Pi, but instead of displaying on a screen, all output is via the LEDs of the Ciseco PiLite.
This is written in python2 and uses my own python-pilite library, available via pip.
I’ve been playing with pygame as well recently, and I’d been thinking for a while that it would be fun to implement a frame-buffer-like interface for the PiLite and a function to write a pygame Surface to it. That way I could use all of pygame’s sophisticated features, including collision detection.
Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.
Join us every Wednesday night at 8pm ET for Ask an Engineer!
Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground” – Adafruit’s Apps!
Maker Business — Lessons Learned Scaling Airbnb 100X
Wearables — ABS ABC
Electronics — When do I use X10?
Biohacking — The Quantified Self Approach to Lowering Blood Glucose
No comments yet.
Sorry, the comment form is closed at this time.