z88dk forums

z80 Development Kit

You are not logged in.

#1 2015-09-21 21:02:33

berk
Member
Registered: 2014-12-24
Posts: 37
Website

Tetris

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

Offline

 

#2 2015-09-23 01:30:00

alvin
Administrator
Registered: 2007-07-16
Posts: 1932

Re: Tetris

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 big_smile  One thing I do miss is a piece preview.

Offline

 

#3 2015-09-23 20:17:49

stefano
Administrator
Registered: 2007-07-16
Posts: 1510

Re: Tetris

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

Sorry for the missing "getsprite" function, I've always been too lazy to provide at least an optimized one ..

Offline

 

#4 2019-10-06 07:58:33

stefano
Administrator
Registered: 2007-07-16
Posts: 1510

Re: Tetris

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

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson