Page 7 of 8 « First<45678>
Topic Options
#184013 - 2007-12-20 02:10 PM Re: KiXgolf 2007: Taunt Generator - Public Round [Re: Lonkero]
DrillSergeant Offline
MM club member
*****

Registered: 2004-07-09
Posts: 1164
Loc: Eijsden, the Netherlands
I dunno.. it's just plain text between PRE tags...
Here's the same info between CODE tags:

 Code:
; begin Taunt Generator
;
;!
function a($)
    dim $b,$c,$d,$e,$g
    for each $b in $
        $c=2
        $=theholygrail
        for each $a in split($b)
            dim $f
            while $a
                $f=$f|$a>'@'
                $=substr($,1+(left($a,1)=left($,1)))
                $a=right($a,~)
            loop
            $c=$c+$f
            $b=join(split($b,'  '))
        Next
        $g=$g+#Knight:\+$b+#
        for $b=1 to $c/3
            if $
                $c=Hamster,Coconut,Duck,Herring,Newt,Peril,Chicken,Vole,Parrot,Mouse,Twit
                $=conspicuous,categorical,positive,cruel,incontrovertib,steed,king,'first-born',mo,fa,grandmo,
                  grandfa,godfa,silly,wicked,sordid,naughty,repulsive,malodorous,'ill-tempered'
                $d=$d+1

                $a = Your\+$[$e/2 mod 5+8]+ther\+iif($d mod 3,was,personified)+\a
				
                if $d mod 3=2
                    $a=$c[$e mod 11]+!\Your\+$[$e/4 mod 3+5]+iif($e/4 mod 2,\masquerades\as\a\+$[$e/8 mod 5]+ly\,\is\a\)+$[$e/4 mod 7+13]
                    $e=$e+1
                    $b=$b+1
                endif
                $=$a+\+lcase($c[$e mod 11])
                $e=$e+1
            else
                $='(A childish hand gesture)'
            endif
            $g=$g+Taunter:\+$+'.#'
            $a=split(right(join(split($g,\)),~),#)
endfunction

;!
;!
; end Taunt Generator



Edited by DrillSergeant (2007-12-20 02:10 PM)
_________________________
The Code is out there

Top
#184014 - 2007-12-20 02:12 PM Re: KiXgolf 2007: Taunt Generator - Public Round [Re: DrillSergeant]
DrillSergeant Offline
MM club member
*****

Registered: 2004-07-09
Posts: 1164
Loc: Eijsden, the Netherlands
As cunning as a fox who's just been appointed Professor of Cunning at Oxford University?
_________________________
The Code is out there

Top
#184015 - 2007-12-20 02:17 PM Re: KiXgolf 2007: Taunt Generator - Public Round [Re: DrillSergeant]
DrillSergeant Offline
MM club member
*****

Registered: 2004-07-09
Posts: 1164
Loc: Eijsden, the Netherlands
Hmmm... if I post with IE it loses the CRLF's when you try to copy it. If I post with Firefox you can copy it without problems.

I fixed the first posting of my 815, so you should be able to copy that one now.
_________________________
The Code is out there

Top
#184016 - 2007-12-20 02:20 PM Re: KiXgolf 2007: Taunt Generator - Public Round [Re: DrillSergeant]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
 Originally Posted By: DrillSergeant
As cunning as a fox who's just been appointed Professor of Cunning at Oxford University?


I dunno, but it was quite cunning ;\)

nb. Congrats on the 1000th post (it has to be one of the posts in this topic)
_________________________



Top
#184017 - 2007-12-20 02:30 PM Re: KiXgolf 2007: Taunt Generator - Public Round [Re: Jochen]
Benny69 Offline
Moderator
*****

Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
sorry Jochen, i had a pms moment. well done guys.
_________________________
Wait don't order yet,... get KiXforms Designer .NET 2.0 (Beta)
KiXforms Designer .NET 2.0 (Beta)

Top
#184018 - 2007-12-20 02:44 PM Re: KiXgolf 2007: Taunt Generator - Public Round [Re: Benny69]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
 Originally Posted By: Benny69
sorry Jochen, i had a pms moment.


Eh? what was that for? The copy paste thing? No problem... we are all grumpy but hearty code freakz ;\)



Edited by Jochen (2007-12-20 04:00 PM)
Edit Reason: found heartful in no dictionary :o/
_________________________



Top
#184020 - 2007-12-20 02:51 PM Re: KiXgolf 2007: Taunt Generator - Public Round [Re: Jochen]
DrillSergeant Offline
MM club member
*****

Registered: 2004-07-09
Posts: 1164
Loc: Eijsden, the Netherlands
 Originally Posted By: Jochen
nb. Congrats on the 1000th post (it has to be one of the posts in this topic)


Yeah, this was my 1000th post:

http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Main=24895&Number=183849#Post183849

I'm really very proud of my MM club membership, I expect the member card is in the mail? \:\)
_________________________
The Code is out there

Top
#184021 - 2007-12-20 02:52 PM Re: KiXgolf 2007: Taunt Generator - Public Round [Re: Jochen]
Benny69 Offline
Moderator
*****

Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
i don't know what happened, like a woman i just went off, sorry dude.
_________________________
Wait don't order yet,... get KiXforms Designer .NET 2.0 (Beta)
KiXforms Designer .NET 2.0 (Beta)

Top
#184023 - 2007-12-20 02:56 PM Re: KiXgolf 2007: Taunt Generator - Public Round [Re: DrillSergeant]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
 Originally Posted By: DrillSergeant


I'm really very proud of my MM club membership, I expect the member card is in the mail? \:\)



I still wait for my T-Shirt \:\(
_________________________



Top
#184024 - 2007-12-20 02:56 PM Re: KiXgolf 2007: Taunt Generator - Public Round [Re: Benny69]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
 Originally Posted By: Benny69
i don't know what happened, like a woman i just went off, sorry dude.


As said, no problem dude \:\)
_________________________



Top
#184030 - 2007-12-20 04:35 PM Re: KiXgolf 2007: Taunt Generator - Public Round [Re: Jochen]
RemcovC Offline
Starting to like KiXtart
*****

Registered: 2006-09-13
Posts: 174
Loc: Holland
Yes !!!!!!! Finaly \:\) \:\) \:\)

Your solution passed all tests

KiXtart
KiXtart Version = 4.60
KiXGolf Script = kixgolf_tg.kix

Computer
OS = Windows Vista Ultimate Edition
CPU = Intel Pentium Model 15
Speed = 1662 MHz
Memory = 1014 MB

KiXGolf Scoring Engine
Scoring Engine = 3.3

KiXtart Golf Score
Tournament = Taunt Generator
Processing Start = 2007/12/20 16:29:37.304
Processing End = 2007/12/20 16:29:37.492
Duration = 0000/00/00 00:00:00.188
KiXGolf Score = 812

 Code:
Function a($)
    dim $b,$c,$d,$e,$g
    for each $b in $
        $c=2
        $=theholygrail
        for each $a in split($b)
            dim $f
            while $a
                $f=$f|$a>'@'
                $=substr($,1+(left($a,1)=left($,1)))
                $a=right($a,~)
            loop
            $c=$c+$f
            $b=join(split($b,'  '))
        Next
        $g=$g+#Knight:\+$b+#
        for $b=1 to $c/3
            if $
                $c=Hamster,Coconut,Duck,Herring,Newt,Peril,Chicken,Vole,Parrot,Mouse,Twit
                $=conspicuous,categorical,positive,cruel,incontrovertib,steed,king,'first-born',mo,fa,grandmo,
                  grandfa,godfa,silly,wicked,sordid,naughty,repulsive,malodorous,'ill-tempered'
                $d=$d+1
				$a=Your\+$[$e/2 mod 5+8]+ther\+iif($d,was,personified)+\a
                if $d=2
                    $a=$c[$e mod 11]+!\Your\+$[$e/4 mod 3+5]+iif($e/4 mod 2,\masquerades\as\a\+$[$e/8 mod 5]+ly\,\is\a\)+$[$e/4 mod 7+13]
                    $e=$e+1
                    $b=$b+1
					$d=-1
                endif
                $=$a+\+lcase($c[$e mod 11])
                $e=$e+1
            else
                $='(A childish hand gesture)'
            endif
            $g=$g+Taunter:\+$+'.#'
            $a=split(right(join(split($g,\)),~),#)
EndFunction
_________________________
It's better to have scripted and died, then to never have scripted at all

Top
#184031 - 2007-12-20 04:38 PM Re: KiXgolf 2007: Taunt Generator - Public Round [Re: RemcovC]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Welcome to the inner freak circle ... we contact you via PM to teach you the secret handshake

[edit: Very clever Remco!!!]


Edited by Jochen (2007-12-20 04:41 PM)
_________________________



Top
#184032 - 2007-12-20 05:07 PM Re: KiXgolf 2007: Taunt Generator - Public Round [Re: Jochen]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
I have something...
can't see where it fails but the theory works on test script...

damn, wish I find the issue in time.
_________________________
!

download KiXnet

Top
#184034 - 2007-12-20 05:28 PM Re: KiXgolf 2007: Taunt Generator - Public Round [Re: Lonkero]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
failed 2/5
_________________________
!

download KiXnet

Top
#184035 - 2007-12-20 05:46 PM Re: KiXgolf 2007: Taunt Generator - Public Round [Re: Lonkero]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
damn.
total brainfart.


Edited by Lonkero (2007-12-20 05:59 PM)
_________________________
!

download KiXnet

Top
#184036 - 2007-12-20 05:57 PM Re: KiXgolf 2007: Taunt Generator - Public Round [Re: Lonkero]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
darn...
Your solution failed 1 of 5 tests.
_________________________
!

download KiXnet

Top
#184038 - 2007-12-20 06:14 PM Re: KiXgolf 2007: Taunt Generator - Public Round [Re: Lonkero]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
and back to working code, but got way up to 814.
_________________________
!

download KiXnet

Top
#184110 - 2007-12-21 04:47 AM Re: KiXgolf 2007: Taunt Generator - Public Round [Re: Lonkero]
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
Looks like 812 it is. Congrats to all participants. The public round is clsoed now and the KiXgolf Tournament 2007 comes to an end. Final results for this round and the tournament will be posted tomorrow night.
_________________________
There are two types of vessels, submarines and targets.

Top
#184113 - 2007-12-21 08:10 AM Re: KiXgolf 2007: Taunt Generator - Public Round [Re: Sealeopard]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
:'(
_________________________
!

download KiXnet

Top
#184117 - 2007-12-21 08:58 AM Re: KiXgolf 2007: Taunt Generator - Public Round [Re: Lonkero]
RemcovC Offline
Starting to like KiXtart
*****

Registered: 2006-09-13
Posts: 174
Loc: Holland
\:D \:D
_________________________
It's better to have scripted and died, then to never have scripted at all

Top
Page 7 of 8 « First<45678>


Moderator:  Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 718 anonymous users online.
Newest Members
Timothy, Jojo67, MaikSimon, kvn317, kixtarts2025
17874 Registered Users

Generated in 0.083 seconds in which 0.028 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org