UnderwareDesign
May 19, 2013, 03:51:58 AM *
News: Creeping Angels Work In Progress by bmorris (14th,Dec,2012)
   Home    
Pages: [1] 2
 
Author Topic: My Tetris Game  (Read 1081 times)
Member

WWW
« on: April 15, 2012, 08:51:49 AM »


Hi all.

This is my third game - Tetris. Have Fun.


http://file.kirovnet.ru/d/616815/Tetris-1.00.rar

source code you can find here:
http://www.underwaredesign.com/forums/index.php?topic=3832.msg25346#new


screen-1.jpg (87.04 KB, 816x638 - viewed 37 times.)

screen-2.jpg (68.82 KB, 816x638 - viewed 49 times.)

screen-3.jpg (65.3 KB, 816x638 - viewed 37 times.)
Logged
Member


WWW
« Reply #1 on: April 15, 2012, 09:08:55 AM »

Nice one.well executed.

Don't knowif its just me but i found the controls a little over sensitive,sometime the blocks were doing 180 degrees on one short press,which makes it rather tricky.
Logged
Member

WWW
« Reply #2 on: April 15, 2012, 10:16:12 AM »

Thank you, monkeybot

I will try fix control sensitive in next version.
Logged
Member

« Reply #3 on: April 16, 2012, 05:47:12 AM »

This seems to be really well made. Nice one Smiley

Are pieces generated randomly, or by a defined pattern? There seems to be a distinct lack of 5x1 (1x5) line type pieces.
Logged
Member

WWW
« Reply #4 on: April 16, 2012, 07:37:36 AM »

Thank you, buggage

My favorite tetris on NES called "Tetris Tengen", in this Tetris have one line 4x1, i do same  Wink

I used array setup for each figure. Like this

Code:
if flagnew=true
n=2
select nexta

case 1 // I--
block(0,0)=1
block(0,1)=1
block(0,2)=1

block(1,0)=1
block(1,1)=0
block(1,2)=0

block(2,0)=0
block(2,1)=0
block(2,2)=0

case 2 // --L
block(0,0)=1
block(0,1)=1
block(0,2)=1

block(1,0)=0
block(1,1)=0
block(1,2)=1

block(2,0)=0
block(2,1)=0
block(2,2)=0

case 3 // =_
block(0,0)=1
block(0,1)=1
block(0,2)=0

block(1,0)=0
block(1,1)=1
block(1,2)=1

block(2,0)=0
block(2,1)=0
block(2,2)=0

case 4// _=
block(0,0)=0
block(0,1)=1
block(0,2)=1

block(1,0)=1
block(1,1)=1
block(1,2)=0

block(2,0)=0
block(2,1)=0
block(2,2)=0

case 5 //T
block(0,0)=1
block(0,1)=1
block(0,2)=1

block(1,0)=0
block(1,1)=1
block(1,2)=0

block(2,0)=0
block(2,1)=0
block(2,2)=0
case 6
block(0,0)=1
block(0,1)=1
block(0,2)=0

block(1,0)=1
block(1,1)=1
block(1,2)=0

block(2,0)=0
block(2,1)=0
block(2,2)=0
case 7
n=3
block(0,0)=0
block(0,1)=0
block(0,2)=0
block(0,3)=0

block(1,0)=1
block(1,1)=1
block(1,2)=1
block(1,3)=1

block(2,0)=0
block(2,1)=0
block(2,2)=0
block(2,3)=0

block(3,0)=0
block(3,1)=0
block(3,2)=0
block(3,3)=0
endselect

flagnew=false
endif

Logged
Member

« Reply #5 on: April 16, 2012, 10:01:40 AM »

Of course I meant 4x1 and 1x4! Stoopid brain! Tongue

I meant that they don't come up very often in-game.
Logged
Member

WWW
« Reply #6 on: April 16, 2012, 10:20:55 AM »

I think this because line the same figure like all. could make a counter on each figure, but this game will be so easy. ^__^
Logged
Member

« Reply #7 on: April 16, 2012, 01:06:53 PM »

I recall that there was an algorithm (in the real game) to reduce its (1x4) frequency to prevent the game being too easy, but it still came up fairly often (initially at least).

Anyway, it's still very good Smiley
Logged
Member


« Reply #8 on: April 16, 2012, 08:19:03 PM »

very well done atlus. i agree with the sensitive controls thing but that is a very minor crit. excellent game
Logged
Member

WWW
« Reply #9 on: April 17, 2012, 05:08:38 AM »

Thank You, BlinkOk

buggage, chance to get a line of 4x1, it does often =)
Logged
Member

WWW
« Reply #10 on: April 18, 2012, 09:06:55 AM »

My Tetris game in Facebook, Thank You Kevin!
Logged
Member
Development Team


WWW
« Reply #11 on: April 19, 2012, 09:03:54 AM »

 No worries,  it's good to see somebody pumping out some games.  What would be useful though,  is if you're going to post different threads, the cross reference your posts as much as you can.   So the link the game threads to the source code threads and vice versa.  Even link, them all to each other.   It also wouldn't hurt to have a little more information about the program also.       
 
Logged

Member

« Reply #12 on: May 05, 2012, 02:10:49 PM »

I just played it, very nice job Smiley . It's a classic game that never tires
Logged
Member

WWW
« Reply #13 on: May 05, 2012, 02:25:24 PM »

servogod85, Thank You!
Logged
Member

« Reply #14 on: May 18, 2012, 05:07:02 PM »

Hi All

good game and nicely coded , well done ATLUS

mick
Logged
Pages: [1] 2
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.13 | SMF © 2006-2009, Simple Machines LLC | Privacy Policy Valid XHTML 1.0! Valid CSS!