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.

Author
Message
King Weeble
21
Years of Service
User Offline
Joined: 16th Jul 2003
Location:
Posted: 17th Jul 2003 07:17
Anyone have a good source on the inner workings of tetris? I've seen the 20 line code which even after straighting out doesn't help much without remarks. I found a link to a good tutorial for tetris on DBPro but the link doesn't work.

Anyone know where I can find out on how to start making a Tetris game? Really looking for something with no extra junk in it like menus or score boards flying around some easy code that describes the basics of setting up shapes, the board, rotating, checking for pieces to stop it and line creation. With good remarks!

Sounds like a lot but I'm really interested in making a tetris game.

Thanks,
badprogrammer
21
Years of Service
User Offline
Joined: 7th Aug 2003
Location:
Posted: 10th Aug 2003 15:16
You don't need DarkBASIC for Tetris. Javascript works easily and help can be found ecerywhere.
Hamish McHaggis
22
Years of Service
User Offline
Joined: 13th Dec 2002
Location: Modgnik Detinu
Posted: 10th Aug 2003 22:10 Edited at: 10th Aug 2003 22:14
Umm... he asked for a guide to make a tetris game using DARKBASIC, not javascript, and no offense but I think that using DB would be much easier to use than javascript, aswell as being more flexible.

cuRant PRogekt: a three-de map editer
Why the hell'd you ask me for crying out loud!?!
Athelon XP 1400 Plus - Nvidia Geforce MX400 - 256mb RAM
jimbo1913
22
Years of Service
User Offline
Joined: 19th Apr 2003
Location: - Please Select -
Posted: 10th Aug 2003 23:49 Edited at: 10th Aug 2003 23:57
Am I missing the point?

You want a Tetris engine and you'll add the easy stuff like menus and hi-score tables later? Why not just d.load a version of Tetris and change all the title pages?

If your looking for some specific advice thats a different matter. For starters we'd think of the screen as a 2d array. The blocks would then each be 4 positions in that array. If any 'bits' of the block hit another block we stop the whole thing and make another (random?) block. Every loop we would check for completed lines by starting at the top of the screen and working down.

from future review of next game....
'..while the programmer of this game may not be God-like he certainly represents the next step in human evolution. (10/10).'
andrew11
22
Years of Service
User Offline
Joined: 23rd Feb 2003
Location: United States
Posted: 11th Aug 2003 04:03 Edited at: 11th Aug 2003 04:03
Try this:
http://www.colinfahey.com/2003jan_tetris/tetris_standard_specifications.htm

This site has alot of info on tetris and some tetris downloads to get ideas. Also, check out the 20-line section for and entry named "2 player tetris" or something.

"All programmers are playwrites and all computers are lousy actors" -Anon

Login to post a reply

Server time is: 2025-05-19 16:54:39
Your offset time is: 2025-05-19 16:54:39