Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

The 20 Line Challenge / Tetris in 16 lines.

Author
Message
Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 27th May 2006 00:10
This is the original game 'Tetris' but written in DBC. All it needs is a 30x30 bitmap named "block.bmp" to be in the same folder as the code. One that I have made already is attached.

short:


Long:



Executable is also attached for anybody who can't run the code

There are three types of people, those that can count and those that can't.

Attachments

Login to view attachments
Daemon
18
Years of Service
User Offline
Joined: 16th Dec 2005
Location: Everywhere
Posted: 31st May 2006 22:39
Aren't all tetris pieces supposed to have four blocks? Some of yours seem to have five.

Here is a picture showing a tetris game, all shapes with four blocks.


Insanity is just a state of mind
Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 31st May 2006 23:19
Oh well, I did it all from memory
Anyway, it's much harder than you'd think to write code for.
I thought it would be simple, then I started programming it

There are three types of people, those that can count and those that can't.

Login to post a reply

Server time is: 2024-11-21 12:20:35
Your offset time is: 2024-11-21 12:20:35