Tetris

ZX80, ZX 81, ZX Spectrum, TS2068 and other clones
Post Reply
berk
Member
Posts: 37
Joined: Wed Dec 24, 2014 9:46 am

Tetris

Post by berk »

Hello,

some time ago I made Tetris for my testing and playing with Turbo C 2.01. Afterward I discovered z88dk project and so I tried to make port to ZX Spectrum.
Here you can download sources and see result :-)

https://bitbucket.org/berk76/tetris

berk
alvin
Well known member
Posts: 1872
Joined: Mon Jul 16, 2007 7:39 pm

Post by alvin »

Nice I was just giving it a go now. Did you have to make many changes to work with bgi.h?

I think the modified game might be impossible for large pieces... I tried 8 for the brick size not knowing what I was getting into until I saw the very large and unworkable shapes :D One thing I do miss is a piece preview.
stefano
Well known member
Posts: 2137
Joined: Mon Jul 16, 2007 7:39 pm

Post by stefano »

You relied on my bgi.h emulation .. fool !
I see you had to integrate it with more fancy workarounds :)

Sorry for the missing "getsprite" function, I've always been too lazy to provide at least an optimized one ..
stefano
Well known member
Posts: 2137
Joined: Mon Jul 16, 2007 7:39 pm

Post by stefano »

nice to see you have a makefile for the zx81 too, this means it is already ported to an interesting number of targets
Post Reply