Friday, October 31, 2008

TouchShield Tetris

When I was little, this game kept me up for hours past by bed time! Besides, what else would a normal person be doing at that time anyways?

The Tetris source code for the TouchShield can be found on the projects page along with Arduino code for interfacing to the InputShield. Simply copy and paste to try it out!


Matt said...

Cooooooooolllll!!! Whoa where did that come from... nice color gridded tiles! :) It was supposed to be black and white when I sent you the basic code.

Chris said...

I used a random number generator for the tile colors! I suppose you could also bound the random colors to a "brighter" gradient to block out the greys.

Thanks for the code snippet!