Computer Science Canada

yay movie trivia

Author:  child_of_bodom [ Mon Mar 22, 2004 10:47 pm ]
Post subject:  yay movie trivia

This is a project I did for school... movie trivia. fun fun. This is my frist post by the way... yeah.

Author:  Paul [ Mon Mar 22, 2004 10:50 pm ]
Post subject: 

Um... looks good, except I didn't run it, cause I didn't wanna change all the picture paths and stuff..., don't think you need H:\\ cause, as long as they are in the same folder, it will work.

[EDIT] ok I got bored and changed all the paths but this error occured:
assert condition is false on line 26
code:

    assert file2 > 0

Im only in grade 10, and haven't done assert... dunno what it means...

Author:  child_of_bodom [ Mon Mar 22, 2004 11:20 pm ]
Post subject: 

Okay i fixed it. I forgot to put one of the files in the zip... *smacks self in head* it's there now... at least I hope it is. And I took all the h://'s out... It should work now. Shocked

Author:  Tony [ Tue Mar 23, 2004 12:45 am ]
Post subject: 

nicely done. Very Happy I'm just glad that you've used a textfile for questions instead of hardcoding that in... having picture paths in file as well could have improved the code.

But I'm just glad its not one of those 5000 line trivia game made up of endless case statements Laughing +10Bits

btw - i got a highscore of 50% without looking at the source file Wink

Author:  shorthair [ Thu Mar 25, 2004 6:15 am ]
Post subject: 

Well this isnt something people commonly do , everyone seems to write 1500 lines of questions and literally 4 0lines of processing code , i like how htey come from a file that getting advanced , its a bg step up from how a beginner would do it , well done + bits

Author:  child_of_bodom [ Thu Mar 25, 2004 9:50 pm ]
Post subject: 

thanks Smile


: