
-----------------------------------
Spider-Man
Wed Jan 23, 2008 6:07 pm

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

-----------------------------------
Gooie
Wed Jan 23, 2008 6:40 pm

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
Wed Jan 23, 2008 6:51 pm

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
Wed Jan 23, 2008 6:53 pm

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

Oh is that a challenge? I could do it in 200.

-----------------------------------
freyman13
Wed Jan 23, 2008 7:17 pm

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
Wed Jan 23, 2008 7:33 pm

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
Wed Jan 23, 2008 7:37 pm

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
Wed Jan 23, 2008 7:46 pm

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.

-----------------------------------
Nick
Wed Jan 23, 2008 7:49 pm

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
Wed Jan 23, 2008 8:02 pm

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
Wed Jan 23, 2008 8:18 pm

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
Wed Jan 23, 2008 10:10 pm

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
Wed Jan 23, 2008 10:42 pm

RE:TETRIS in TURING
-----------------------------------
It basically abused this function:


fcn sa (var a : int, b : int, c : boolean) : boolean
    if c then
        a := b
    end if
    result false
end sa


-----------------------------------
zylum
Thu Jan 24, 2008 1:01 am

Re: TETRIS in TURING
-----------------------------------
For cool short programs check out [url=http://compsci.ca/v3/viewtopic.php?t=5539&postdays=0&postorder=asc&start=0]this and [url=http://compsci.ca/v3/viewtopic.php?t=13501&postdays=0&postorder=asc&start=0]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 :)

I think I may just start up another one of these as they're always good fun  :wink:
