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

Username:   Password: 
 RegisterRegister   
 tetris dont have the code posted
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
willisanoob




PostPosted: 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
Sponsor
sponsor
DemonWasp




PostPosted: 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




PostPosted: 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?
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: