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

Username:   Password: 
 RegisterRegister   
 Harry Potter Potions Puzzle
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Azzy




PostPosted: Sat Jul 24, 2004 1:08 pm   Post subject: Harry Potter Potions Puzzle

Remember the puzzle Snape made for guarding the Sorcerer's/Philosopher's stone?
Well I made in turing.
My first good program.



hp-puzzle.t
 Description:
Yay, i finished a program

Download
 Filename:  hp-puzzle.t
 Filesize:  3.96 KB
 Downloaded:  237 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Paul




PostPosted: Sat Jul 24, 2004 1:29 pm   Post subject: (No subject)

nice simple program, I would suggest you make the size of the first window smaller and then move the position of the second window so you can have a clear view of the bottles. And also have a "you win" screen or something.
Tony




PostPosted: Sat Jul 24, 2004 7:40 pm   Post subject: (No subject)

it's a good start

why is everything in a process though? Confused
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Azzy




PostPosted: Sun Jul 25, 2004 10:08 am   Post subject: (No subject)

I was going to put the instructions in the same window and just update it, but then I decided not to.
Pickles




PostPosted: Sun Jul 25, 2004 5:29 pm   Post subject: ..

"You just drank poison.Good day to you."

lol, i like that one

some of that can be reduced like

code:

    if guess = 1 then
        put "You just drank poison.Good day to you."
 %other choices...
    elsif guess = 5 then
        put "You just drank poison.Good day to you."


can be reduced to

code:

if guess = 1 or guess = 5 then
put "You just drank poison. Good day to you."
%continue with choices
end if
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  [ 5 Posts ]
Jump to:   


Style:  
Search: