Bastris 2
Following on from this thread I've lashed together a new version of Bastris - the little tetris clone I did in Speccy basic in 2002. This version should have working keyboard input on all speccies, and runs faster, 'cause I took my own advice and removed all the unnecessary multiplications, etc.
This zip file includes the commented source in a BASin-friendly BAS file, and TAP and TZX files. I doubt it's really that interesting to anyone here, but after unearthing the original code, I wanted to do a fixed version just for the sake of completeness.
I'm sure it could be further speeded up, but it's reasonably playable (for a BASIC game...) as it is now. EDIT: It still has the crap title-screen music, by the way :D
Big shout out to Dunny for BASin. I've never really used it properly before but it really is a great utility.
This zip file includes the commented source in a BASin-friendly BAS file, and TAP and TZX files. I doubt it's really that interesting to anyone here, but after unearthing the original code, I wanted to do a fixed version just for the sake of completeness.
I'm sure it could be further speeded up, but it's reasonably playable (for a BASIC game...) as it is now. EDIT: It still has the crap title-screen music, by the way :D
Big shout out to Dunny for BASin. I've never really used it properly before but it really is a great utility.
Post edited by ccowley on

Comments
Hey, the music isn't THAT bad!... How did you do the music then?...(by hand?)...
It really makes me cringe! Can't really remember the details as it was too long ago, but I would've done it by hand - certainly no additional utilities involved in that monstrosity :)
It flickers alot, sometimes even the piece disappears, controls take a long time to respond, it does not work in 128k
JSpeccy-win32-portable
If anyone has ideas for making it any quicker, I'm happy to give them a try :)
Tetris in c64 basic
20 Lines Tetris in vic20 basic
Tetris games in TI-83/84 basic
From my steep ignorance, what if you don't erase the piece as if it was a comet leaving a trail of dust ?
JSpeccy-win32-portable
If I understand you correctly, I think that will be slower because you have to keep track of the list of blocks to erase once the piece has hit the deck (the blocks have to be erased at some point, because the collision detection is based purely on the attribute data).
Probably, I should make some bold (and entirely false ;)) statement like "This is the most efficient way to implement Tetris in sinclair BASIC. It is impossible to do a faster version without resorting to machine code," as I can guarantee that'd prompt someone into making a better attempt at it than mine :D