Posted: Fri Dec 17, 2010 1:25 pm Post subject: tetris dont have the code posted
What is it you are trying to achieve?
im in grade 9 and in a grade 10 programming class and i kinda need help with making tetris
What is the problem you are having?
i can make the shapes and get them to move i just need help with getting them to stay and to make the next shape drop
Describe what you have tried to solve this problem
ive tried pretty much anything ive been taught in the class
Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)
<Answer Here>
Turing:
<Add your code here>
Please specify what version of Turing you are using
<Answer Here>
Sponsor Sponsor
DemonWasp
Posted: Fri Dec 17, 2010 1:29 pm Post subject: RE:tetris dont have the code posted
You need to post your existing source code and also specify what you've tried. Have you tried drawing a Tetris board out on paper (maybe graph paper) and determining what the condition is for when a block stops moving?
The condition here is relatively simple, so a few minutes with good ol' pencil-and-paper should help you figure it out.
Tony
Posted: Fri Dec 17, 2010 1:54 pm Post subject: RE:tetris dont have the code posted
What kind of variables are you using the represent the piece currently dropping, and what variables make up the board of existing pieces?