[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tetris in Basic
"mmphosis" <markwstock@yahoo.com> wrote in message
cfd4d7d9-fd56-4625-8209-274a4d08e8eb@q2g2000pre.googlegroups.com">news:cfd4d7d9-fd56-4625-8209-274a4d08e8eb@q2g2000pre.googlegroups.com...
On Mar 9, 7:41 pm, BLuRry <brendan.rob...@gmail.com> wrote:
>> wow... that works well! is it possible to print text values instead
>> of using lo-res drawing routines? Would it be faster? e.g. you could
>> write these characters as text and they show in lo-res as solid
>> blocks: ] * ; L n
>>
>> -Brendan
>
> Thanks. It works, but it's slow! If my memory
> serves me, I wrote this in 1992.
>
> It could definitely be optimized to run faster.
> The drawing primitives are at lines 200 and 225.
> It looks like the subroutine at line 800 does
> collision detection.
When my pieces reach the top, it starts me over
again at level one. Doesn't say 'GAME OVER' or
any other kind of warning. This is on AppleWIN,
not sure which version, the one I use, and also
under DOS 3.3, and AppleSoft, of course.
I don't have any real hardware set up ATM, so,
can't try it there as yet. Maybe tomorrow. 8^)
Bill