Computer Science Canada

[source] The Typing Tetris Excercise thingy

Author:  Paul [ Sun Mar 14, 2004 12:31 pm ]
Post subject:  [source] The Typing Tetris Excercise thingy

Back in Business class, we had to learn how to type fast. The "typing tetris" game is one of the things we used. It speeds up as you finish words, and if you miss one , the speed resets. I didn't feel like making it fancy, I suppose when I do my final project, "paul world", I would make it more fancy. I just thought up of it this morning at 10 when I woke up. But here is the basic program, try to beat my score of 1850 Very Happy Enjoy

Author:  recneps [ Sun Mar 14, 2004 12:45 pm ]
Post subject: 

Haha tied you, 1850 Very Happy

Author:  Paul [ Sun Mar 14, 2004 12:49 pm ]
Post subject: 

Hehe, i thought my computer is slow, so I gave you guys an easier version, where the speed increases by 3 instead of 5 every time.

Author:  guruguru [ Sun Mar 14, 2004 12:56 pm ]
Post subject: 

Very Happy 3150 Very Happy

Author:  recneps [ Sun Mar 14, 2004 1:00 pm ]
Post subject: 

*1850* , WITHOUT editing scoring in code Razz lol and im talking FIRST TRY!

And maybe you could create a text files with like 100 words, and then have it load em all into an array and randomize, because its always the same words over and over again Wink

Author:  guruguru [ Sun Mar 14, 2004 3:34 pm ]
Post subject: 

Quote:

*1850* , WITHOUT editing scoring in code lol and im talking FIRST TRY!


Are you implying something Confused ? lol...
*3150* , WITHOUT editing scoring in code lol and IM talking FIRST TRY!

Author:  Paul [ Sun Mar 14, 2004 5:28 pm ]
Post subject: 

now now some ppl's computers are slower that might explain the fact of the scores.

Author:  the_short1 [ Sun Mar 14, 2004 6:41 pm ]
Post subject: 

nice program.,... i got 1300 i sux... but ya see i had a problem with ukelele and alfalfa... other t hen that... nice... polish it up then u shoulkd put it on ur site..

Author:  Cervantes [ Sun Mar 14, 2004 7:48 pm ]
Post subject: 

score 8) I got a big hug from Paul. I'm movin' on up the ladder now!

nice program Paul. I always love the aesthetic appeal you have in your programs. It looks wonderful and runs smoothly and flawlessy. +10 BITS

Author:  Paul [ Sun Mar 14, 2004 7:55 pm ]
Post subject: 

score! I just got a compliment from Cervantes, I wasn't trying particularily to make it look good though, Im going to make it way better, once I make it in to one huge program for my "paul land" like
http://www.jumpland.com
except you get to walk around the "World of Paul" and enter houses of programs.

Author:  Cervantes [ Sun Mar 14, 2004 7:59 pm ]
Post subject: 

That's an awesome idea for a FP paul. can't wait to see it! I hope it has cool graphics for the walking around bit such as Breath of Fire or Legend of Zelda.

Author:  the_short1 [ Sun Mar 14, 2004 8:40 pm ]
Post subject: 

wow... taht sounds like a WICKED idea... only problem i can forsee is if you use the same variable twice.. you will have to rename the vairables..

as an FP it sounds GREAT

Author:  Tony [ Sun Mar 14, 2004 11:04 pm ]
Post subject: 

the_short1 wrote:
only problem i can forsee is if you use the same variable twice..


that would not be a problem if you keep all the variables on the procedural level
code:

var x:int := 5

proc a()
var x:int := 10
put x
end a

a
put x
a
put x


as you can see global variable x and variable x inside the procedure are independant of each other

Author:  jonos [ Sun Mar 14, 2004 11:34 pm ]
Post subject: 

noooooo.. i don't want a hug Smile. haha, nice program, nice practice for typing, i hate ukelele though, i can't speell; tthat one fast.

Author:  the_short1 [ Mon Mar 15, 2004 12:09 pm ]
Post subject: 

ahh... yea... a variable's 'scope' changes if u have it inside a for loop or a proc... almost forgot about that... thx...

Author:  recneps [ Tue Mar 16, 2004 11:23 am ]
Post subject: 

hint, you dont lose points for spamming keys, so on ukelele keep hitting leleleleleleleleleel until you get it Wink and alfalfa same idea alfalaflaflaflaflafl Wink

Author:  guruguru [ Tue Mar 16, 2004 11:23 pm ]
Post subject: 

Nooo my secret's out Crying or Very sad !!! Lol... just jokin Very Happy ... or am I 8) ?


: