0

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.


Join 4,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

Learn “How Computers Work” with Bill Gates, Ladyada and more – From Code.org !

CircuitPython in 2018 – Python on Microcontrollers is here!

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!

Follow Adafruit on Instagram for top secret new products, behinds the scenes and more https://www.instagram.com/adafruit/


Maker Business — The Public Radio’s inventory dashboard

Wearables — Glue for the occasion

Electronics — Ew! Sticky!

Biohacking — Using Insulin Load for Better Sleep and Recovery

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.