Kevin
2013-07-29 13:42:06
Taking notes from: http://villavu.com/forum/showthread.php?t=50949 I think it would be great to start something like this up again. And to even steal most of the setup…
As for a prize… Get at least 5 participants a week and I will personally start funding these weekly with 10m to a winner and an additional 15m for best score of the month. Also, I am more than happy (and fully willing) to bring in other competent scripters as judges if they so wish and they do not compete in the given weeks they judge (or at least they can't win any prize that week).
As for a first task: you will create a function as such:
Therefore, a possible response to Typo('Hello, what is your wc level?', 0.9) could be 'Hello, wehat is your wc lebel?'. There could be more typos or less, 0.9 simply means there is a 10% chance of any individual character having said typo, and not that each tenth character will.
Good luck and I hope many participate!
"To script or not to script, that is the question. Whether 'tis nobler in the mind to suffer the slings and arrows of outrageous fortune, or to take arms against a sea of troubles."
From: mixster
The emphasis on the problems is not to give hard tasks, but tasks that have plenty of room for improving their speed. As all skilled scripters will know, S[imba]'s main flaw is in its slow pace, so being able to take a slow function and speeding it up a lot is a vital ability for kick ass scripts.
Points will be awarded for the first submissions and for the fastest scripts. As I am unsure of how many people will enter, I can't give exact numbers, but probably the points will be distributed for the first half of entries and for the fastest third of entries, with the fastest script getting a bit more points than the first entry.
Everyone is open to submit a script to solve the problem and you are allowed 2 submissions, with the first being completely ignored if you send in a second. 3rd submissions onwards will not be counted, so don't be too rash in deciding to submit. If a script doesn't work, then it can't get any points, but S[imba] version based changes will be corrected as needed.
All entries are to be PM'd to me. Unless stated, you are fine with me publishing your script for each other to learn from. If you disagree, please say so in the PM, however you must then consent to me being able to send it to an independent judge in case anyone thinks I'm being biased or if I am unable to judge for whatever reason.
Plugins are not allowed at all. However, you may rely on external sauces as long as they accessible from within S[imba] - this is as much about ingenuity as it is about scripting ability. Likewise, all scripts must be S[imba] scripts and be in the form of a function.
It will hopefully run a while. Any questions, ask else try to leave the topic spam free - no need to tell me you are planning to participate as I'll get the idea when you send in a submission
As for a prize… Get at least 5 participants a week and I will personally start funding these weekly with 10m to a winner and an additional 15m for best score of the month. Also, I am more than happy (and fully willing) to bring in other competent scripters as judges if they so wish and they do not compete in the given weeks they judge (or at least they can't win any prize that week).
As for a first task: you will create a function as such:
function Typo(str: String; acc: extended): string;This function will return str with each individual character having a chance at a typo (acc refers to the chance 1=100% of no typo). A typo can either be an additional nearby character being hit instead of OR in addition to. IE: a nearby character to g would be one of "f,t,y,h,b,v". This will include any non-shifted character on a typical qwerty keyboard:
Therefore, a possible response to Typo('Hello, what is your wc level?', 0.9) could be 'Hello, wehat is your wc lebel?'. There could be more typos or less, 0.9 simply means there is a 10% chance of any individual character having said typo, and not that each tenth character will.Good luck and I hope many participate!
"To script or not to script, that is the question. Whether 'tis nobler in the mind to suffer the slings and arrows of outrageous fortune, or to take arms against a sea of troubles."