Computer Science Canada

Tetris

Author:  EDEN-E [ 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~

Author:  Catalyst [ Sun Apr 18, 2004 2:06 pm ]
Post 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

Author:  gamer [ Sun Apr 18, 2004 2:10 pm ]
Post subject: 

yo man this game kick ass GJ

Author:  EDEN-E [ Sun Apr 18, 2004 2:18 pm ]
Post 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.

Author:  EDEN-E [ 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 `(~)

Author:  Tony [ Sun Apr 18, 2004 4:22 pm ]
Post subject: 

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

Author:  EDEN-E [ Sun Apr 18, 2004 4:58 pm ]
Post 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?

Author:  Tony [ Sun Apr 18, 2004 6:37 pm ]
Post 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.

Author:  Andy [ Sun Apr 18, 2004 6:44 pm ]
Post 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

Author:  EDEN-E [ Sun Apr 18, 2004 8:51 pm ]
Post 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.

Author:  Tony [ Mon Apr 19, 2004 12:05 am ]
Post 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

Author:  EDEN-E [ Mon Apr 19, 2004 8:09 am ]
Post 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

Author:  Tony [ Mon Apr 19, 2004 8:29 am ]
Post 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)

Author:  the_short1 [ Fri Apr 23, 2004 5:06 pm ]
Post 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...


: