Tag Archives: LED Table

Tetris Simulation

I am currently working in my spare time on a pixel coffee table. The hardware is now complete and I will be posting a blog about the build shortly. In the mean time here is a version of Tetris you can play inside the Flowcode 6 simulator.

Screenshot

Simply extract the archive to your computer, open the Flowcode project file and click the play button. Ensure the system panel is open to see the simulation.

Tetris

Controls can be either using the arrow cursor keys, left = left, right = right, up = spin, down = move down. Just click any of the blank space by the flowchart to allow keypresses to work. Or you can simulate the table’s IR sensors by clicking on the pixels on the panel. The touchable control areas are shown by the coloured rectangles shown before the game starts.

A couple of bugs I am aware of with the sim,

1) Music track only plays once but also doesn’t end when you stop the simulation. Sorry about this I did try multiple other methods and couldn’t get it to work, must be doing something wrong.
2) Redraw can occasionally be a bit slow
3) Speed up seems to go from slow to fast too quickly and makes game quite short

The Pong macros are a work in progress…