Page 11 of 14 « First<910111213>Last »
Topic Options
#183716 - 2007-12-16 03:59 PM Re: KiXgolf 2007: Taunt Generator - Private Round [Re: RemcovC]
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
Try the updated package, updated the .INI according to your report
_________________________
There are two types of vessels, submarines and targets.

Top
#183717 - 2007-12-16 04:03 PM Re: KiXgolf 2007: Taunt Generator - Private Round [Re: Sealeopard]
DrillSergeant Offline
MM club member
*****

Registered: 2004-07-09
Posts: 1164
Loc: Eijsden, the Netherlands
hmmm, the leading space now breaks my code...
_________________________
The Code is out there

Top
#183719 - 2007-12-16 04:20 PM Re: KiXgolf 2007: Taunt Generator - Private Round [Re: DrillSergeant]
DrillSergeant Offline
MM club member
*****

Registered: 2004-07-09
Posts: 1164
Loc: Eijsden, the Netherlands
This is my leading space score...



Your solution passed all tests

KiXtart
KiXtart Version = 4.60
KiXGolf Script = kixgolf_tg.KIX

Computer
OS = Windows Vista Business Edition
CPU = Intel Pentium Model 15
Speed = 2194 MHz
Memory = 2038 MB

KiXGolf Scoring Engine
Scoring Engine = 3.3

KiXtart Golf Score
Tournament = Taunt Generator
Processing Start = 2007/12/16 16:15:56.096
Processing End = 2007/12/16 16:15:56.231
Duration = 0000/00/00 00:00:00.135
KiXGolf Score = 972

Thank you for participating in KiXtart Golf!
_________________________
The Code is out there

Top
#183720 - 2007-12-16 04:47 PM Re: KiXgolf 2007: Taunt Generator - Private Round [Re: DrillSergeant]
RemcovC Offline
Starting to like KiXtart
*****

Registered: 2006-09-13
Posts: 174
Loc: Holland
hmmm

me and my big mouth...
Im failing test 2, but my output seems to be the same is the ini.
_________________________
It's better to have scripted and died, then to never have scripted at all

Top
#183721 - 2007-12-16 05:02 PM Re: KiXgolf 2007: Taunt Generator - Private Round [Re: RemcovC]
RemcovC Offline
Starting to like KiXtart
*****

Registered: 2006-09-13
Posts: 174
Loc: Holland
Lol....
I figured why my new code failed \:\(

The new scoring engine now checks on leading spaces, but not on trailing spaces.

but never mind that.

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/16 17:03:05.856
Processing End = 2007/12/16 17:03:06.182
Duration = 0000/00/00 00:00:00.326
KiXGolf Score = 894
_________________________
It's better to have scripted and died, then to never have scripted at all

Top
#183722 - 2007-12-16 05:05 PM Re: KiXgolf 2007: Taunt Generator - Private Round [Re: RemcovC]
RemcovC Offline
Starting to like KiXtart
*****

Registered: 2006-09-13
Posts: 174
Loc: Holland
perhaps a suggestion for future golf tournaments:

Add an version number to the ini, and display it in the official score so we can see who's using which version. (like the scoring engine)
_________________________
It's better to have scripted and died, then to never have scripted at all

Top
#183723 - 2007-12-16 05:06 PM Re: KiXgolf 2007: Taunt Generator - Private Round [Re: RemcovC]
Benny69 Offline
Moderator
*****

Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
I think Test 2 should be reworked, if we have the altered Test 5 then we need to accout for the same things in the others:

oneword
Oneword

two words
Two words

three words here
Three words here

four words this line
Four words this line

five words on this line
Five words on this line

six words on this line and
Six words on this line and

seven words ending the increasing sequence lines
Seven words ending the increasing sequence lines

this-should-be-counted-as-one-word
This-should-be-counted-as-one-word

should-be-counted-as-one-word should-be-counted-as-one-word
Should-be-counted-as-one-word should-be-counted-as-one-word

stress test a b c d e f g h i j k l m n o p q r s t u v w x y z aa bb
Stress test a b c d e f g h i j k l m n o p q r s t u v w x y z aa bb

whine0
Whine0

whine1
Whine1

whine2 whine3
Whine2 whine3

whine4 whine5
Whine4 whine5

t h aea holy g r a i l
T h aea holy g r a i l

the holy grail
The holy grail

whine6
Whine6

whine7
Whine7

whine8
Whine8

whine9
Whine9

whine10
Whine10
_________________________
Wait don't order yet,... get KiXforms Designer .NET 2.0 (Beta)
KiXforms Designer .NET 2.0 (Beta)

Top
#183724 - 2007-12-16 05:18 PM Re: KiXgolf 2007: Taunt Generator - Private Round [Re: Benny69]
RemcovC Offline
Starting to like KiXtart
*****

Registered: 2006-09-13
Posts: 174
Loc: Holland
My code won't fail on that ^^

I have 2 code now, one which works with trailing spaces and your new test, and 1 which works without trailing spaces and your test.

The last score I posted is the one without trailing spaces, and passes the current testini (894 strokes)
_________________________
It's better to have scripted and died, then to never have scripted at all

Top
#183726 - 2007-12-16 05:31 PM Re: KiXgolf 2007: Taunt Generator - Private Round [Re: RemcovC]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Great!

My code fails test case 5 now (of course!)
I haven't even thought of that possibility yet

edit: It isn't failing case 5... WTF is going on ???


Edited by Jochen (2007-12-16 05:38 PM)
_________________________



Top
#183727 - 2007-12-16 05:46 PM Re: KiXgolf 2007: Taunt Generator - Private Round [Re: Jochen]
RemcovC Offline
Starting to like KiXtart
*****

Registered: 2006-09-13
Posts: 174
Loc: Holland
Is it case 2 ?

If so see my previous comment about trailing spaces


Edited by RemcovC (2007-12-16 05:48 PM)
_________________________
It's better to have scripted and died, then to never have scripted at all

Top
#183728 - 2007-12-16 05:54 PM Re: KiXgolf 2007: Taunt Generator - Private Round [Re: RemcovC]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
I don't even know which test case, as It seems to be perfect

[edit: according to $iValid it has to be case 2, but there is no significant difference bewteen $sResult and $sOutput]


Edited by Jochen (2007-12-16 05:57 PM)
_________________________



Top
#183729 - 2007-12-16 05:59 PM Re: KiXgolf 2007: Taunt Generator - Private Round [Re: Jochen]
RemcovC Offline
Starting to like KiXtart
*****

Registered: 2006-09-13
Posts: 174
Loc: Holland
I had the same problem

The test doesn't take in account the trailing spaces.

Edit:
Try to rtrim your knight lines


Edited by RemcovC (2007-12-16 06:01 PM)
_________________________
It's better to have scripted and died, then to never have scripted at all

Top
#183731 - 2007-12-16 06:30 PM Re: KiXgolf 2007: Taunt Generator - Private Round [Re: RemcovC]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Yeah, I found the flaw in test case 2 in the mean time.

 Code:

Input: ... ~ this-should-be-counted-as-one-word  ~ ...
... ~ should-be-counted-as-one-word  should-be-counted-as-one-word ~

Output: ... ~~Knight:  this-should-be-counted-as-one-word~ ...
... ~~Knight:  should-be-counted-as-one-word should-be-counted-as-one-word~



and the rules state:

 Quote:

Any appearance of space characters inside the input will be replaced by a single space.


There is no rule that states that the Input line should be trimmed on the right!
So the output should therefore be:

 Code:

~~Knight:  this-should-be-counted-as-one-word ~
... 
~~Knight:  should-be-counted-as-one-word should-be-counted-as-one-word ~






Edited by Jochen (2007-12-16 08:25 PM)
Edit Reason: added all flaws in test case 2
_________________________



Top
#183733 - 2007-12-16 07:36 PM Re: KiXgolf 2007: Taunt Generator - Private Round [Re: Jochen]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
K, with the current, imo wrong test case 2, I improved my existing a bit more.
Still I have 7 strokes that aren't necessary if the case follow the rules,
so this post is preliminary until the ini is corrected \:\)


Your solution passed all tests

KiXtart
KiXtart Version  = 4.53
KiXGolf Script   = kixgolf_tg.kix

Computer
OS               = Windows XP Professional
CPU              = Intel Pentium Model 15
Speed            = 2399 MHz
Memory           = 2048 MB

KiXGolf Scoring Engine
Scoring Engine   = 3.3

KiXtart Golf Score
Tournament       = Taunt Generator
Processing Start = 2007/12/16 19:35:11.843
Processing End   = 2007/12/16 19:35:11.890
Duration         = 0000/00/00 00:00:00.047
KiXGolf Score    = 1027

Thank you for participating in KiXtart Golf!

_________________________



Top
#183735 - 2007-12-16 08:19 PM Re: KiXgolf 2007: Taunt Generator - Private Round [Re: Jochen]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Preliminary score as test case 2 is still violating the rules


Your solution passed all tests

KiXtart
KiXtart Version  = 4.53
KiXGolf Script   = kixgolf_tg.kix

Computer
OS               = Windows XP Professional
CPU              = Intel Pentium Model 15
Speed            = 2399 MHz
Memory           = 2048 MB

KiXGolf Scoring Engine
Scoring Engine   = 3.3

KiXtart Golf Score
Tournament       = Taunt Generator
Processing Start = 2007/12/16 20:19:36.171
Processing End   = 2007/12/16 20:19:36.218
Duration         = 0000/00/00 00:00:00.046
KiXGolf Score    = 1024

Thank you for participating in KiXtart Golf!

_________________________



Top
#183736 - 2007-12-16 08:55 PM Re: KiXgolf 2007: Taunt Generator - Private Round [Re: Jochen]
Gargoyle Offline
MM club member
*****

Registered: 2004-03-09
Posts: 1597
Loc: Valley of the Sun (Arizona, US...
Looks like this has been a fun round (22 pages and counting). Wish I had time to play, but with the Holiday's a broken car, brewing 3 batches of beer, and that other thing known as work....
_________________________
Today is the tomorrow you worried about yesterday.

Top
#183737 - 2007-12-16 08:59 PM Re: KiXgolf 2007: Taunt Generator - Private Round [Re: Gargoyle]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Yeah, this is a really funny round, and like an emotional roller coaster ride! ... plus it should last a bit longer as there need to be a new test case 2 in the 12h period which will result in a prolongation of private round ;\)
_________________________



Top
#183739 - 2007-12-16 09:05 PM Re: KiXgolf 2007: Taunt Generator - Private Round [Re: Jochen]
DrillSergeant Offline
MM club member
*****

Registered: 2004-07-09
Posts: 1164
Loc: Eijsden, the Netherlands
I second the motion for an extension. The leading and trailing spaces thingie needs some work...
_________________________
The Code is out there

Top
#183740 - 2007-12-16 10:31 PM Re: KiXgolf 2007: Taunt Generator - Private Round [Re: DrillSergeant]
Benny69 Offline
Moderator
*****

Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
Thanks guys, I'm back above 1100:

Running Test 1...Result... Passed... Done
Running Test 2...Result... Passed... Done
Running Test 3...Result... Passed... Done
Running Test 4...Result... Passed... Done
Running Test 5...Result... Passed... Done

Your solution passed all tests

KiXtart
KiXtart Version = 4.60
KiXGolf Script = kixgolf_tg.kix

Computer
OS = Windows Vista Ultimate Edition
CPU = Intel(R) Pentium(R) D CPU 2.80GHz
Speed = 2792 MHz
Memory = 2048 MB

KiXGolf Scoring Engine
Scoring Engine = 3.3

KiXtart Golf Score
Tournament = Taunt Generator
Processing Start = 2007/12/16 15:31:27.042
Processing End = 2007/12/16 15:31:27.181
Duration = 0000/00/00 00:00:00.138
KiXGolf Score = 1182

Thank you for participating in KiXtart Golf!
Press any key to continue...
_________________________
Wait don't order yet,... get KiXforms Designer .NET 2.0 (Beta)
KiXforms Designer .NET 2.0 (Beta)

Top
#183741 - 2007-12-16 10:55 PM Re: KiXgolf 2007: Taunt Generator - Private Round [Re: Benny69]
Benny69 Offline
Moderator
*****

Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
this is my last one for the night:

Your solution passed all tests

KiXtart
KiXtart Version = 4.60
KiXGolf Script = kixgolf_tg.kix

Computer
OS = Windows Vista Ultimate Edition
CPU = Intel(R) Pentium(R) D CPU 2.80GHz
Speed = 2792 MHz
Memory = 2048 MB

KiXGolf Scoring Engine
Scoring Engine = 3.3

KiXtart Golf Score
Tournament = Taunt Generator
Processing Start = 2007/12/16 15:55:15.369
Processing End = 2007/12/16 15:55:15.510
Duration = 0000/00/00 00:00:00.141
KiXGolf Score = 1112

Thank you for participating in KiXtart Golf!
Press any key to continue...
_________________________
Wait don't order yet,... get KiXforms Designer .NET 2.0 (Beta)
KiXforms Designer .NET 2.0 (Beta)

Top
Page 11 of 14 « First<910111213>Last »


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

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

Generated in 0.09 seconds in which 0.039 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