Computer Science Canada

Just for fun

Author:  Jshaw [ Fri May 23, 2008 10:38 am ]
Post subject:  Just for fun

I've been trying to make a turing program that can play madlibs. I've already created a madlib program, but what I want it to do is have a number of madlibs in one program. Here's an example of a madlib I've made.

Author:  Jshaw [ Tue May 27, 2008 10:36 am ]
Post subject:  RE:Just for fun

*bump* I'd really like some help.

Author:  isaiahk9 [ Tue May 27, 2008 3:13 pm ]
Post subject:  RE:Just for fun

1. Make all your madlibs in seperate turing files.
2. Make all your madlibs into procedures (F10 it or look at a tutorial if you don't know what it is).
3. Make a main.t Turing file.
4. Inlude all your files in main.t :
Include "madlibs1.t"
Include "madlibs2.t"
Include "madlibs3.t"
etc.

5. If the user selects madlibs 1, then (assuming the procedure you named madlibs # 1 is madlibs1) :
madlibs1

Author:  Jshaw [ Tue May 27, 2008 6:36 pm ]
Post subject:  RE:Just for fun

hey man, thanks alot! I've been waiting for a reply.

Author:  Jshaw [ Tue May 27, 2008 7:08 pm ]
Post subject:  Re: RE:Just for fun

isaiahk9 @ Tue May 27, 2008 3:13 pm wrote:
1. Make all your madlibs in seperate turing files.
2. Make all your madlibs into procedures (F10 it or look at a tutorial if you don't know what it is).
3. Make a main.t Turing file.
4. Inlude all your files in main.t :
Include "madlibs1.t"
Include "madlibs2.t"
Include "madlibs3.t"
etc.

5. If the user selects madlibs 1, then (assuming the procedure you named madlibs # 1 is madlibs1) :
madlibs1


this is what I tried, I renamed the file of the madlib

Author:  isaiahk9 [ Wed May 28, 2008 4:31 pm ]
Post subject:  RE:Just for fun

This thread has been answered.


: