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
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...