How does Tetris work?

Blitz3D Forums/Blitz3D Beginners Area/How does Tetris work?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Code below is really cruddy and not what I would write if I were serious about creating a Tetris clone.

Only the framework is present. Nothing actually works, other than the screen updates and you can move a shape.

For the included 'keyboard.bb' go to http://www.blitzbasic.com/codearcs/codearcs.php?code=1483
Better code below...