Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Tetris
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
EDEN-E




PostPosted: Sun Apr 18, 2004 2:00 pm   Post subject: Tetris

Its my first time to upload my game on CompSci.

Since it's Beta version and Image files are so big, BlockType S, D does not included.


also there're some bugs...

[1] When you set block style & difficulty, 'w' key (which for closing the window) doesn't work properly.

[2] Array subscript is out of range error seldom occurs. I have been looking for the reason, but still dont know...... Crying or Very sad

[3] Even though your score is less than Top10, program still try get your name.

[4] and some logic errors on turning blocks.


Let me know your opinion or suggestion for my game. Have Fun~



TQ B258.86.zip
 Description:

Download
 Filename:  TQ B258.86.zip
 Filesize:  386.76 KB
 Downloaded:  392 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Catalyst




PostPosted: Sun Apr 18, 2004 2:06 pm   Post subject: (No subject)

Very nice and polished +15 bits for that

But...

Noticed quite a few bugs in the game

    a single block fell (one square) then disappeared when it hit the ground
    the next block hit an invisible block
    the pressure then started increasing really (really) fast
gamer




PostPosted: Sun Apr 18, 2004 2:10 pm   Post subject: (No subject)

yo man this game kick ass GJ
EDEN-E




PostPosted: Sun Apr 18, 2004 2:18 pm   Post subject: (No subject)

Catalyst wrote:
a single block fell (one square) then disappeared when it hit the ground
the next block hit an invisible block

That's not the bug, it is for making game harder......,
I should make it as an option.

Catalyst wrote:

the pressure then started increasing really (really) fast

Using 'SPACE BAR' for quick drop. Everytime block falls, pressure will increase. And pressure will accelerate.
And if you set difficulty to 'Easy' it will be slower, to 'Hard' it will be extreamly fast.
EDEN-E




PostPosted: Sun Apr 18, 2004 2:45 pm   Post subject: Re: Tetris

i didn't write any description about my game Embarassed

SPEED OF BLOCK IS DEPENDS ON PRESSURE

PRESSURE WILL BE INCREASE EVERYTIME BLOCK FALLS

PRESSURE ACCELERATES, IS GETTING FASTER AND FASTER !

WHEN YOU DROP THE BLOCK (USING SPACEBAR), PRESSURE WILL NOT BE INCREASE, DURING IT FALLS.

IF YOU REMOVE LINES, PRESSURE WILL BE DECREASE A LITTLE.
(ALSO SPEED WILL BE DECREASE A LITTLE)



THE KEY IS TO REMOVE BLOCKS AS FAST AS YOU CAN, AND KEEP PRESSURE LOW.


tip... If you are in danger, press `(~)
Tony




PostPosted: Sun Apr 18, 2004 4:22 pm   Post subject: (No subject)

Laughing I get maxrow/collumn error for like half the compiled programs I try Rolling Eyes
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
EDEN-E




PostPosted: Sun Apr 18, 2004 4:58 pm   Post subject: (No subject)

tony wrote:
Laughing I get maxrow/collumn error for like half the compiled programs I try Rolling Eyes


i don't get what you say, tony...

so you couldn't play game?
Tony




PostPosted: Sun Apr 18, 2004 6:37 pm   Post subject: (No subject)

nope... It's messed up though. I use 1280x1024 resolution with Large Fonts to see stuff better... and I'm guessing that messes up row/column counters for turing's exe. That's why I can't play games that hardcode their locate(r,c) values Confused

Atleast use constants and make sure they fit into the display screen before you assign their values, so that your don't get row is more then maxrow error on a different machine.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Sponsor
Sponsor
Sponsor
sponsor
Andy




PostPosted: Sun Apr 18, 2004 6:44 pm   Post subject: (No subject)

are u using input.keydown or simply getch... cuz it seems to me like if i press down the down arrow for a while then let go the nxt block falls fast too
EDEN-E




PostPosted: Sun Apr 18, 2004 8:51 pm   Post subject: (No subject)

tony wrote:
nope... It's messed up though. I use 1280x1024 resolution with Large Fonts to see stuff better... and I'm guessing that messes up row/column counters for turing's exe. That's why I can't play games that hardcode their locate(r,c) values Confused

Atleast use constants and make sure they fit into the display screen before you assign their values, so that your don't get row is more then maxrow error on a different machine.


thank you tony!
i have never thought about that problem.
i corrected now, so download it and try again please.......



dodge_tomahawk wrote:
are u using input.keydown or simply getch... cuz it seems to me like if i press down the down arrow for a while then let go the nxt block falls fast too


i used GUI.SetKeyEventHandler(KeyHandler) to get keystrokes...
And i forgot to uncomment 'Input.Flush', now i corrected that problem too.



TQ B258.96.zip
 Description:

Download
 Filename:  TQ B258.96.zip
 Filesize:  347.51 KB
 Downloaded:  205 Time(s)

Tony




PostPosted: Mon Apr 19, 2004 12:05 am   Post subject: (No subject)

nice, it works now Very Happy looks good

though i get "data.txt" file not found Confused I assume its looking for data.q though Thinking not sure
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
EDEN-E




PostPosted: Mon Apr 19, 2004 8:09 am   Post subject: (No subject)

tony wrote:
though i get "data.txt" file not found Confused I assume its looking for data.q though Thinking not sure



yea... i changed data.q to data.txt (in code) to open.
anyways..... i now corrected that..

i have computer exam today Sad
it's not that hard... but not feel so good

ps. i'm in shannon's computer 11 class Very Happy



TQ B258.96.zip
 Description:

Download
 Filename:  TQ B258.96.zip
 Filesize:  347.51 KB
 Downloaded:  241 Time(s)

Tony




PostPosted: Mon Apr 19, 2004 8:29 am   Post subject: (No subject)

EDEN-E wrote:
ps. i'm in shannon's computer 11 class Very Happy


hah, so many people suddenly joined from shannon's class Laughing But it looks like she's got an interesting class this year (heck, any class that has atleast 2 people interested in programming is great)
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
the_short1




PostPosted: Fri Apr 23, 2004 5:06 pm   Post subject: (No subject)

DAM.... taht is VDG (very dam good) **creator of VDG and will be using it lots now... Wink


here is a nice amount of bits ***15

that is nice and polished... GUI!!! and.... how did u make those triangle boxes... or did u use picts???

either way... GOOD JOB!!!

although i notcied glich of box disapearing **single one..

and landing on a invisible box...

but im shure this came was WICKED hard...
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 14 Posts ]
Jump to:   


Style:  
Search: