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!
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.
Here's my Open Source hardware blog. I'll write about my experiences with various Open Source hardware, and try to do my best to stay on top of all the developments in the field.
I'll also talk about some of my experiences with open source hardware development over at www.liquidware.org and some of the stuff for sale at www.liquidware.com.
2 comments:
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.
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!
Post a Comment