0

November 28, 2014 AT 3:00 pm

Tetris on LEDs : Pieces of Pi #piday #raspberrypi @Raspberry_Pi

Wpid wp 1416870793730

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.

(via recantha)

Read more.


Check out all the Circuit Playground Episodes! Our new kid’s show and subscribe!

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

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



No Comments

No comments yet.

Sorry, the comment form is closed at this time.