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

Username:   Password: 
 RegisterRegister   
 TETRIS in TURING
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Spider-Man




PostPosted: Wed Jan 23, 2008 6:07 pm   Post subject: TETRIS in TURING

okay another one of my friends (not the one responsible for yoda dodge) made this game
it is rather fun and a little buggy
but it has cool tetris music with it so you cant complain



Tetris (Hopefully).rar
 Description:
tetris for turing

Download
 Filename:  Tetris (Hopefully).rar
 Filesize:  1.26 MB
 Downloaded:  687 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Gooie




PostPosted: Wed Jan 23, 2008 6:40 pm   Post subject: Re: TETRIS in TURING

I don't think Tetris should be 1445 lines. At least it works, and it's fun. Also, why are you submitting a friends game?
freyman13




PostPosted: Wed Jan 23, 2008 6:51 pm   Post subject: Re: TETRIS in TURING

because our friend that made this doesnt have an account and doesnt want to make one so Spidey is posting them for them so others can enjoy their programming
and lets see you do it in less lines
Gooie




PostPosted: Wed Jan 23, 2008 6:53 pm   Post subject: Re: TETRIS in TURING

freyman13 @ January 23rd, 6:51 pm wrote:
because our friend that made this doesnt have an account and doesnt want to make one so Spidey is posting them for them so others can enjoy their programming
and lets see you do it in less lines


Oh is that a challenge? I could do it in 200.
freyman13




PostPosted: Wed Jan 23, 2008 7:17 pm   Post subject: Re: TETRIS in TURING

then do it in two hundred lines and submit it and ill say cudos to you and then comment on your............

Edit by Dan: Flaming users is not allowed on this site.
Spider-Man




PostPosted: Wed Jan 23, 2008 7:33 pm   Post subject: Re: TETRIS in TURING

look none of us are very experienced at turing hence our noob status
so this is actually some really cool program considering its our first year of programming
its kinda hard to find time to do all this
when people like you just come on to bash the work then really your just bragging about how you have pissed away most of your life
Sean




PostPosted: Wed Jan 23, 2008 7:37 pm   Post subject: Re: TETRIS in TURING

Neither of you deserve to be slandered by anyone. Considering we all were beginners at a point. But, I have to agree with Gooie, the code could be done in way less lines, possibly 200 like said above.

Me and Gooie are both in our first year of Turing aswell, we aren't like Clayton or Dan, the super gods, we are just programmers and are giving our feedback.

The program could be condenced into less lines. Tell your friend to revise it.
Gooie




PostPosted: Wed Jan 23, 2008 7:46 pm   Post subject: Re: TETRIS in TURING

Well spoken Vilament. It wasn't meant to be accusative, it was meant to be a constructive comment. I received a personal attack, so I retaliated. I'm sorry if I seemed brash. Please keep the trash talk out of the forums. PM if you must.
Sponsor
Sponsor
Sponsor
sponsor
Nick




PostPosted: Wed Jan 23, 2008 7:49 pm   Post subject: RE:TETRIS in TURING

this is getting way off topic

anyways I liked the program although when I looked at the code my eyes bled

it's a great program espacally if you're first year but I think the code could be cleaned up

good job to your friend though
Clayton




PostPosted: Wed Jan 23, 2008 8:02 pm   Post subject: RE:TETRIS in TURING

The best place to start looking at ways to improve your game, would be the Turing Walkthrough. Give topics that you (or your friend in this case) aren't entirely sure about, and apply what you've learned to the game to clean it up. Also, this is a last warning, any more flaming/spamming/obnoxious posts will be dealt with appropriately.
ericfourfour




PostPosted: Wed Jan 23, 2008 8:18 pm   Post subject: RE:TETRIS in TURING

Really programs should not be judged by the number of lines. Once I made a simple eyeball poking program. I created the tears with a particle engine and randomly generated the stick with a fractal tree. The exact same program could have been done in much less lines. The libraries are what took up the lines.

Pong can be done in under 20 lines, or over a thousand lines. If you make a full-blown geometry library to simplify all of the calculations, it isn't that unlikely.
StealthArcher




PostPosted: Wed Jan 23, 2008 10:10 pm   Post subject: Re: TETRIS in TURING

20 line pong? wow i'd like to see that least I ever saw was a friends 55 line pong, pretty basic.
Clayton




PostPosted: Wed Jan 23, 2008 10:42 pm   Post subject: RE:TETRIS in TURING

It basically abused this function:

Turing:

fcn sa (var a : int, b : int, c : boolean) : boolean
    if c then
        a := b
    end if
    result false
end sa
zylum




PostPosted: Thu Jan 24, 2008 1:01 am   Post subject: Re: TETRIS in TURING

For cool short programs check out this and this. In the first thread you can find a submission by catalyst which is pong in 19 lines.. In the second one i submitted 3d in 16 lines Smile

I think I may just start up another one of these as they're always good fun Wink
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: