Trivia Hint Challenge - 28/04/05 03:38 PM
Hello scripters,
I thought it'd be nice to see the scripters on this forum come together to participate in a thread, which would not only be fun, but also a way to think creatively, and to improve the scripting skills a bit, or perhaps to get see some new ideas or scripting techniques.
We often see people asking for hint systems, and trivia bots are popular script projects where these systems are often used. I thought'd it'd be a nice idea to see what kind of different hint systems people can come up with.
So here is my proposal
Post a hint system, which hasn't been posted in this thread yet. The idea though is that you make it yourself, so that you can be creative, and practice a bit in scripting. I would like to see atleast 10 different kind of hint systems, preferably not all from the same person
Some guidelines
So common people, give it your best shot, show me what you can come up with.
Some examples to get you going
Scrambled hint (there's many possible variations)
Only showing certain letters.
Words in different order.
N first letters of each word.
...
It would be nice to see some examples that don't use variables, some that do, some that use a scripted while loop, some who take advantage of an internal loop, some using recursion, $regsub, binvars... you name it. Though, if you use a non-common technique, please give a little explanation so that people can benefit from it.
To the less experienced scripters: don't be afraid to post what you have, no one is going to laugh at your code, I just want to see what you can come up with.
To non-scripters: now's the time to request hint systems, if you have a good idea! (looks at monk)
To advanced scripters: please don't post all what you can think of all at once, or nothing will be left to script. Perhaps give one hint system, and wait a bit.
Happy scripting
I thought it'd be nice to see the scripters on this forum come together to participate in a thread, which would not only be fun, but also a way to think creatively, and to improve the scripting skills a bit, or perhaps to get see some new ideas or scripting techniques.
We often see people asking for hint systems, and trivia bots are popular script projects where these systems are often used. I thought'd it'd be a nice idea to see what kind of different hint systems people can come up with.
So here is my proposal
Post a hint system, which hasn't been posted in this thread yet. The idea though is that you make it yourself, so that you can be creative, and practice a bit in scripting. I would like to see atleast 10 different kind of hint systems, preferably not all from the same person
Some guidelines
- Don't copy/paste code from somewhere, that's useless.
- If a certain hint system has already been posted, it is possible for people to post the same hint system which uses a different method to accomplish. But don't go bashing other people's code please.
- Make your code as optimized as possible.
- When posting code, explain its function, provide an example, and use the code tags.
Example:
; Usage: $myhintsystem(<input>,<N>)
;
; Example: //echo -a $myhintsystem(this is a test,3)
;
; --> thi* is a tes*
;Code:alias myhintsystem { ... }
So common people, give it your best shot, show me what you can come up with.
Some examples to get you going
Scrambled hint (there's many possible variations)
Only showing certain letters.
Words in different order.
N first letters of each word.
...
It would be nice to see some examples that don't use variables, some that do, some that use a scripted while loop, some who take advantage of an internal loop, some using recursion, $regsub, binvars... you name it. Though, if you use a non-common technique, please give a little explanation so that people can benefit from it.
To the less experienced scripters: don't be afraid to post what you have, no one is going to laugh at your code, I just want to see what you can come up with.
To non-scripters: now's the time to request hint systems, if you have a good idea! (looks at monk)
To advanced scripters: please don't post all what you can think of all at once, or nothing will be left to script. Perhaps give one hint system, and wait a bit.
Happy scripting