AllenAdministrator
(KiX Supporter)
2014-06-29 03:36 PM
Kixgolf - Win, Win, or Draw - Private Round

=============
The Challenge - Win, Win or Draw
=============

The Game of Win, Lose or Draw is a television show based on drawing something on a whiteboard and people guessing what it is. However, our game
is called Win, Win or Draw(WWD). There are no Losers here. WWD revolves around a value called a Digital Root. Like the Luhn Check (a previous
kixgolf challenge), the Digital Root can be used as a checksum. The Digital Root of a number is the single digit value obtained by an iterative
process of summing digits, on each iteration using the result from the previous iteration to compute a digit sum. The process continues until
a single-digit number is reached.

From this point forward, the Digital Root will be referred to as DR.

For example, the DR of 65536 is 7, because 6+5+5+3+6 = 25 and 2+5 = 7.
The DR of 1 is 1 because it is a single digit and does not need to be computed.
The DR of CAN is 9 because, 3+1+14 = 18 and 1+8 = 9.
The DR of BAT is 5 because, 2+1+20 = 23 and 2+3 = 5.

To play WWD, you must first determine the DR of each input value. Then you must determine which value is lower than the other. The lowest
DR Value WINS. In the event two DR Values are equal, the input value with the longer length WINS. In the event two DR Values are equal, and
have the same input value length, a DRAW will be given.


*-->A download is available at http://www.kixtart.org/forums/ubbthreads.php?ubb=download&Number=330

=============
Specification
=============


Determine the DR value of each string input. Compare the values, and determine the winner. Use the following rules:

When determining the DR
- To determine the DR, break down each string input into its parts. Add up the values. Repeat until the value is a single digit number.
- For Letters use A=1, B=2, C=3... Z=26.
- 0 is the lowest DR. No other input is less than 0.
- 0-9, A-Z and a-z will be the only letters included in the tests. Capitalization does not effect DR. hello=Hello=HELLO.

When comparing DRs
- Using a string of inputs, compare each string
- The lower the DR value the better.
- In the event two DR values are the same, the input with the longer length wins.
- In the event two DR values are the same, and the lengths are the same, a draw is declared.



=============
Inputs and Outputs
=============


Input
String of Items separated by a comma. The input can consist of 2 to many items.

Example Input: 9,5

Output
Winner: inputstring1=DR, inputstring2=DR, inputstringN=DR, Winner=LowestDRinputstring
Winner (same DR): inputstring1=DR, inputstring2=DR, inputstringN=DR, Winner=LowestDRinputstring
Draw (same DR and Length): inputstring1=DR, inputstring2=DR, inputstringN=DR, Draw

Example Win Output: can=9, bat=5, Winner=bat
Example Draw Output: no=2, no=2, Draw

=================================================================
Notes
================================================================

- The scoring engine has added code to help diagnose which cases are failing. To see test case results:
 Code:
   kix32 kixgolf_wwd $verbose=1 ;shows failing results
   kix32 kixgolf_wwd $verbose=2 ;shows all results

- The scoring engine expects your (primary) function to be named a().


=======
Scoring
=======


The solution must pass all tests in order for it's KiXgolf Score to be considered.

When posting KiXtart Golf Scores, please include the KIXGOLF_*.TXT file that is created in the script directory. It contains some basic information about the computer that the script is run on and the resulting scores.

============
Test program
============


Test cases are provided to help screen entries and to provide the Golf Score.
Any script that passes the test cases can be submitted. If you are surprised that your solution passed the test cases, please submit it anyway! That will help me identify bugs in the test program.

================================================================
KiXtart GOLF - How To Play
================================================================


Most importantly, anybody can play, no age restrictions, no penalties, no handicap!

The object in "real" golf is to hit the ball in the hole in the fewest strokes. The object in KiXtart Golf is to get from input (tee) to target (hole) in the fewest keystrokes.

Example: How many positive elements are in array $a?

Array $a could be of structure $a=[1, 2 ,-3, 4, -5, -7, 8, 9]

One approach:
 Code:
for $b=0 to ubound($a)
  if $a[$b]>0
    $c=$c+1
  endif
next

for a score of 45.

Another solution is:
 Code:
DO
  $b=$b+1
  if $a[$b]>0
    $c=$c+1
  endif
UNTIL $b>(UBOUND($a)+1)

for a score of 53.

Better approach: Code sample 1

================================================================
KiXtart GOLF - The Rules
================================================================


1) The goal of KiXtart Golf is to score the lowest strokes.
2) Strokes are all characters in a piece of code except whitespace characters, unless the whitespace character is necessary for the line of code to work. Therefore, carriage returns and line feeds do not count or spaces in between the '=' sign when assigning variables, e.g. '$a = $b' scores 5.
3) Code can be constructed any way you like, as long as it does not generate syntax or other errors when running the script in KiXtart.
4) The final solution MUST pass all test scripts that are part of the KiXtart golf challenge.
7) During the private coding phase, no code is allowed to be posted. Violations result in disqualification of said player.
8) During the public coding phase, code should be posted, reused, and borrowed from other players.
9) The test script contains the official KiXgolf scoring engine
10) Only the person posting a particular score will be recognized for the score, unless the KiXtart Golf Challenge organizer or another delegate posts code on behalf of a player
11) KiXtart Golf (a.k.a KiXgolf) codes must be written inside the KiXgolf UDF collection tags, ';!' and ';!;!'
12) Parameter names of the UDF's can be changed and additional optional parameters can be added.
13) Additional helper UDFs and code can be written as long as they reside inside the ';!' and ';!;!' tags.
14) The use of '$' as a variable is allowed.
15) The UDF layout is up to coder.
16) The UDF is expected to finish in a reasonable time, that is, on modern computers inside 1 hour timeframe.
17) You can submit scores as often as you want.
18) If you reach leading score, you are obligated to post your score immediately so others can try to compete with you.
19) The UDF may only use the KiXtart/KiXforms commands/functions/macros, no other code fragments are allowed.
20) Calls to COM components that are part of a standard default Windows installation are allowed.
21) The use of the KiXforms DLL is also permitted as the KiXforms DLL can now be considered an integral part of KiXtart scripting.
22) Calls to other executables, as long as they are part of a standard default Windows installation are allowed.
23) The UDF should be self-contained (except for any I/O mentioned in the challenge). In particular, you may not do things like fetching extra data from a remote site or file.
24) You may assume ASCII as character set.
25) You may use block comments as the KiXgolf Scoring Engine now supports block comments.
26) You are allowed to only use publicly available versions of KiXtart and KiXforms, private builds or alpha builds are NOT allowed.
27) Your submitted score must include the result print of the KiXgolf test-engine.
28) The SETOPTION() parameters in the KiXgolf script may not be modified and will govern the script behavior. SETOPTION() parameters may change depending on the particular needs of the KiXgolf challenge.
29) Tokenizing the UDF, script, or portions thereof is not allowed.
30) If something is not explicitly denied by the rules, it's allowed.
31) If Confusion arises, arranger of the KiXgolf round has the final say.
32) Additional test cases can be added at any time during the KiXgolf round. The code is expected to pass based on the rules. The test cases may not include tests for all rules and exceptions. Test cases that are added during the public round will not alter the results of the private round.


================================================================
KiXtart GOLF - The Duration of the Competition
================================================================


1) Private coding phase: 2014-06-29 to 2014-07-06 (Official Count down clock will determine end time)

2) Public coding phase: 2014-07-06 to 2014-07-13

3) Final results: 2014-07-13


*--> You will need the complete package from http://www.kixtart.org/forums/ubbthreads.php?ubb=download&Number=330 .




AllenAdministrator
(KiX Supporter)
2014-06-29 03:36 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

Ended

JochenAdministrator
(KiX Supporter)
2014-06-29 08:13 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

ok, downloaded.
Seems to hold a ton of strokes on first thought.

Tricky..


JochenAdministrator
(KiX Supporter)
2014-06-29 09:00 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

Very tricky ... Nice one Allen.
Tee-off not expected today \:\)


AllenAdministrator
(KiX Supporter)
2014-06-29 09:13 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

I've added another case and updated the zip.

 Code:
[Test25]
Input=eleven,thirteen,three,seven,zero
Output=eleven=9, thirteen=9, three=2, seven=2, zero=1, Winner=zero


AllenAdministrator
(KiX Supporter)
2014-06-29 09:20 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

I think once you get going you won't think its all that tricky. \:\)

JochenAdministrator
(KiX Supporter)
2014-06-29 09:25 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

yeah probably,
but more tomorrow ;\)


JochenAdministrator
(KiX Supporter)
2014-06-29 09:36 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

One Question though:

How is KixGolf=3 possible?

K = 11
i = 9
x = 24
G = 7
o = 15
l = 12
f = 6

== 84
8+4 = 12

Do I miss something here?



AllenAdministrator
(KiX Supporter)
2014-06-29 09:37 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

Yup... 12 is not a single digit number... 1+2=3

JochenAdministrator
(KiX Supporter)
2014-06-29 09:38 PM
Re: Kixgolf - Win, Win, or Draw - Private Round



Ok, even more tricky \:\)


maciep
(Korg Regular)
2014-06-29 10:46 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

getting there...got the right numbers but need to go back find the winner/draw now...

maciep
(Korg Regular)
2014-06-29 11:26 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

ugly but functional...

 Code:
KiXtart Version  = 4.60
KiXGolf Script   = kixgolf_wwd.kix
Scoring Engine   = 3.3
OS               = Windows 6.2 / 1
CPU              = Intel Pentium III Xeon
Speed            = 2195 MHz
Memory           = 4096 MB

Tournament       = Win, Win or Draw
Processing Start = 2014/06/29 17:25:48.123
Processing End   = 2014/06/29 17:25:48.137
Duration         = 0000/00/00 00:00:00.014
# Tests Run      = 25
# Tests Passed   = 25
# Tests Failed   = 0
Result           = Passed
KiXGolf Score    = 366


maciep
(Korg Regular)
2014-06-30 12:08 AM
Re: Kixgolf - Win, Win, or Draw - Private Round

Still pretty ugly, but good enough for day 1...

 Code:
KiXtart Version  = 4.60
KiXGolf Script   = kixgolf_wwd.kix
Scoring Engine   = 3.3
OS               = Windows 6.2 / 1
CPU              = Intel Pentium III Xeon
Speed            = 2195 MHz
Memory           = 4096 MB

Tournament       = Win, Win or Draw
Processing Start = 2014/06/29 18:07:40.888
Processing End   = 2014/06/29 18:07:40.902
Duration         = 0000/00/00 00:00:00.014
# Tests Run      = 25
# Tests Passed   = 25
# Tests Failed   = 0
Result           = Passed
KiXGolf Score    = 331


AllenAdministrator
(KiX Supporter)
2014-06-30 12:17 AM
Re: Kixgolf - Win, Win, or Draw - Private Round

Awesome. I always sweat out the first submission, thinking I have a bug in code/ini.

\:\)


JochenAdministrator
(KiX Supporter)
2014-06-30 08:55 AM
Re: Kixgolf - Win, Win, or Draw - Private Round

Nice Tee-Off Eric,
don't think that I can start anywhere near this score..

Well, lets see


JochenAdministrator
(KiX Supporter)
2014-06-30 10:46 AM
Re: Kixgolf - Win, Win, or Draw - Private Round

See?

# Tests Run = 25
# Tests Passed = 25
# Tests Failed = 0
Result = Passed
KiXGolf Score = 450


JochenAdministrator
(KiX Supporter)
2014-06-30 10:57 AM
Re: Kixgolf - Win, Win, or Draw - Private Round

437 436 435

JochenAdministrator
(KiX Supporter)
2014-06-30 11:19 AM
Re: Kixgolf - Win, Win, or Draw - Private Round

Baby steps


# Tests Run = 25
# Tests Passed = 25
# Tests Failed = 0
Result = Passed
KiXGolf Score = 431




JochenAdministrator
(KiX Supporter)
2014-06-30 11:23 AM
Re: Kixgolf - Win, Win, or Draw - Private Round

429

JochenAdministrator
(KiX Supporter)
2014-06-30 11:28 AM
Re: Kixgolf - Win, Win, or Draw - Private Round

Better


# Tests Run = 25
# Tests Passed = 25
# Tests Failed = 0
Result = Passed
KiXGolf Score = 411


still ugly


JochenAdministrator
(KiX Supporter)
2014-06-30 12:08 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

407

JochenAdministrator
(KiX Supporter)
2014-06-30 12:46 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

404

JochenAdministrator
(KiX Supporter)
2014-06-30 01:04 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

402

JochenAdministrator
(KiX Supporter)
2014-06-30 01:10 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

397

JochenAdministrator
(KiX Supporter)
2014-06-30 01:13 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

379

much better, still ugly as hell


JochenAdministrator
(KiX Supporter)
2014-06-30 01:16 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

374

JochenAdministrator
(KiX Supporter)
2014-06-30 01:29 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

371

DrillSergeant
(MM club member)
2014-06-30 01:31 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

Tee off! Lots of room for improvement though... Let's start swinging! :-)

 Code:

KiXtart Version  = 4.64
KiXGolf Script   = kixgolf_wwd.KIX
Scoring Engine   = 3.3
OS               = Windows 8.1 Enterprise Edition
CPU              = Intel Pentium III Xeon
Speed            = 2594 MHz
Memory           = 8192 MB

Tournament       = Win, Win or Draw
Processing Start = 2014/06/30 13:28:34.788
Processing End   = 2014/06/30 13:28:34.866
Duration         = 0000/00/00 00:00:00.078
# Tests Run      = 25
# Tests Passed   = 25
# Tests Failed   = 0
Result           = Passed
KiXGolf Score    = 526

Thank you for participating in KiXtart Golf!


JochenAdministrator
(KiX Supporter)
2014-06-30 01:34 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

Major improvement here...


# Tests Run = 25
# Tests Passed = 25
# Tests Failed = 0
Result = Passed
KiXGolf Score = 343

Thank you for participating in KiXtart Golf!





DrillSergeant
(MM club member)
2014-06-30 01:49 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

I think this will be it for now... I've cleared out my evening for another swing \:\)

 Code:

KiXtart Version  = 4.64
KiXGolf Script   = kixgolf_wwd.KIX
Scoring Engine   = 3.3
OS               = Windows 8.1 Enterprise Edition
CPU              = Intel Pentium III Xeon
Speed            = 2594 MHz
Memory           = 8192 MB

Tournament       = Win, Win or Draw
Processing Start = 2014/06/30 13:46:27.337
Processing End   = 2014/06/30 13:46:27.415
Duration         = 0000/00/00 00:00:00.078
# Tests Run      = 25
# Tests Passed   = 25
# Tests Failed   = 0
Result           = Passed
KiXGolf Score    = 487

Thank you for participating in KiXtart Golf!


JochenAdministrator
(KiX Supporter)
2014-06-30 01:54 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

slowing down again ..

338


JochenAdministrator
(KiX Supporter)
2014-06-30 02:26 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

334

JochenAdministrator
(KiX Supporter)
2014-06-30 02:51 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

finally, a draw \:D

331


JochenAdministrator
(KiX Supporter)
2014-06-30 03:09 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

Your turn Eric,

329



JochenAdministrator
(KiX Supporter)
2014-06-30 03:26 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

327

JochenAdministrator
(KiX Supporter)
2014-06-30 03:49 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

Pretty obvious one

322


JochenAdministrator
(KiX Supporter)
2014-06-30 04:10 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

321


getting harder, guess I have to rewrite somewhen this week


JochenAdministrator
(KiX Supporter)
2014-06-30 05:49 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

ok, repost with official score \:\)



KiXtart Version = 4.64
KiXGolf Script = kixgolf_wwd.kix
Scoring Engine = 3.3
OS = Windows 7 Professional Edition
CPU = Intel Pentium III Xeon
Speed = 2193 MHz
Memory = 4096 MB

Tournament = Win, Win or Draw
Processing Start = 2014/06/30 17:46:41.952
Processing End = 2014/06/30 17:46:42.014
Duration = 0000/00/00 00:00:00.062
# Tests Run = 25
# Tests Passed = 25
# Tests Failed = 0
Result = Passed
KiXGolf Score = 321

Thank you for participating in KiXtart Golf!


Now, France vs. Nigeria, then Germany vs. Algeria. cu guys


LonkeroAdministrator
(KiX Master Guru)
2014-06-30 06:23 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

uhm.
 Quote:

=============
Inputs and Outputs
=============

Input
String of Items separated by a comma. The input can consist of 2 to many items.

Example Input: 9,5

Output
Winner: inputstring1=DR, inputstring2=DR, inputstringN=DR, Winner=LowestDRinputstring
Winner (same DR): inputstring1=DR, inputstring2=DR, inputstringN=DR, Winner=LowestDRinputstring
Draw (same DR and Length): inputstring1=DR, inputstring2=DR, inputstringN=DR, Draw

Example Win Output: can=9, bat=5, Winner=bat
Example Draw Output: no=2, no=2, Draw


you couldn't have made it any messier even if you tried...


AllenAdministrator
(KiX Supporter)
2014-06-30 06:24 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

all effort... thanks for noticing

LonkeroAdministrator
(KiX Master Guru)
2014-06-30 06:35 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

so, the output does not only output the winner, it will have to output the input as well?

LonkeroAdministrator
(KiX Master Guru)
2014-06-30 07:08 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

first attempt = infinite loop

second attempt = infinite loop

third attempt = infinite loop


LonkeroAdministrator
(KiX Master Guru)
2014-06-30 07:19 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

ok, the test suite does require spaces in the output, not just comma's.
it also does not default to showing which test is wrong.

this can be fixed by changing line 92 of kixgolf_wwd.kix to if 1=1


LonkeroAdministrator
(KiX Master Guru)
2014-06-30 07:22 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

 Code:
Test22
Input     : seventeen,eighteen,nineteen,twenty
INIResult : seventeen=1, eighteen=1, nineteen=5, twenty=8, Winner=seventeen


that is not right. that is a draw.


AllenAdministrator
(KiX Supporter)
2014-06-30 07:23 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

Nothing new. It's always required using $verbose to show results.

AllenAdministrator
(KiX Supporter)
2014-06-30 07:25 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

len(seventeen)=9, len(eighteen)=8, longer len wins when the DR is the same.

LonkeroAdministrator
(KiX Master Guru)
2014-06-30 07:25 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

 Code:
Test25
Input     : eleven,thirteen,three,seven,zero
INIResult : eleven=9, thirteen=9, three=2, seven=2, zero=1, Winner=zero
YourResult: eleven=9, thirteen=9, three=2, seven=2, zero=1, winner=zero


KiXtart Version  = 4.63
KiXGolf Script   = kixgolf_wwd.kix
Scoring Engine   = 3.3
OS               = Windows 7 Professional Edition
CPU              = Intel Pentium Model 15
Speed            = 1995 MHz
Memory           = 4096 MB

Tournament       = Win, Win or Draw
Processing Start = 2014/06/30 12:24:40.128
Processing End   = 2014/06/30 12:24:40.253
Duration         = 0000/00/00 00:00:00.125
# Tests Run      = 25
# Tests Passed   = 0
# Tests Failed   = 25
Result           = Failed

so, output is also case sensitive.
urgh....


LonkeroAdministrator
(KiX Master Guru)
2014-06-30 07:28 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

ok, forgot the length rule.

test20 has wrong ini-content (no Winner word)


AllenAdministrator
(KiX Supporter)
2014-06-30 07:34 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

???

[Test20]
Input=four,five,one,two,three,six,seven,eight,nine
Output=four=6, five=6, one=7, two=4, three=2, six=7, seven=2, eight=4, nine=6, Draw


LonkeroAdministrator
(KiX Master Guru)
2014-06-30 07:41 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

omfb's...
ok. I see. so if there is a winner, we add a word Winner (with the capital letter) and if it is a draw we omit that word....


ShaneEP
(MM club member)
2014-06-30 07:44 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

And replace it with Draw

LonkeroAdministrator
(KiX Master Guru)
2014-06-30 07:51 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

we omit the winning field value with the draw. the addition of "and the winner is" to the output adds more keystrokes to the UDF.
but as long as the rules are the same for everyone I can live with it...


AllenAdministrator
(KiX Supporter)
2014-06-30 07:53 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

Yes... I changed the rules only for you Lonk... it's your handicap for winning all the time ;\)

LonkeroAdministrator
(KiX Master Guru)
2014-06-30 07:54 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

ok. finally got the output syntax correct.
 Quote:

KiXtart Version = 4.63
KiXGolf Script = kixgolf_wwd.kix
Scoring Engine = 3.3
OS = Windows 7 Professional Edition
CPU = Intel Pentium Model 15
Speed = 1995 MHz
Memory = 4096 MB

Tournament = Win, Win or Draw
Processing Start = 2014/06/30 12:53:24.055
Processing End = 2014/06/30 12:53:24.086
Duration = 0000/00/00 00:00:00.031
# Tests Run = 25
# Tests Passed = 25
# Tests Failed = 0
Result = Passed
KiXGolf Score = 356

Thank you for participating in KiXtart Golf!


LonkeroAdministrator
(KiX Master Guru)
2014-06-30 08:15 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

 Quote:

KiXtart Version = 4.63
KiXGolf Script = kixgolf_wwd.kix
Scoring Engine = 3.3
OS = Windows 7 Professional Edition
CPU = Intel Pentium Model 15
Speed = 1995 MHz
Memory = 4096 MB

Tournament = Win, Win or Draw
Processing Start = 2014/06/30 13:14:28.013
Processing End = 2014/06/30 13:14:28.028
Duration = 0000/00/00 00:00:00.014
# Tests Run = 25
# Tests Passed = 25
# Tests Failed = 0
Result = Passed
KiXGolf Score = 310

Thank you for participating in KiXtart Golf!


LonkeroAdministrator
(KiX Master Guru)
2014-06-30 08:20 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

ok, this with the easy tricks.
now, lets see Jochen come back and force me to lower my score.

 Quote:

KiXtart Version = 4.63
KiXGolf Script = kixgolf_wwd.kix
Scoring Engine = 3.3
OS = Windows 7 Professional Edition
CPU = Intel Pentium Model 15
Speed = 1995 MHz
Memory = 4096 MB

Tournament = Win, Win or Draw
Processing Start = 2014/06/30 13:18:16.085
Processing End = 2014/06/30 13:18:16.116
Duration = 0000/00/00 00:00:00.031
# Tests Run = 25
# Tests Passed = 25
# Tests Failed = 0
Result = Passed
KiXGolf Score = 299

Thank you for participating in KiXtart Golf!


JochenAdministrator
(KiX Supporter)
2014-06-30 08:30 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

Oh yeah,

have to rethink this .. can't even omit closing keywords with my current.
But not today.


LonkeroAdministrator
(KiX Master Guru)
2014-06-30 08:55 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

fine.

296


LonkeroAdministrator
(KiX Master Guru)
2014-06-30 09:01 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

 Quote:

KiXtart Version = 4.63
KiXGolf Script = kixgolf_wwd.kix
Scoring Engine = 3.3
OS = Windows 7 Professional Edition
CPU = Intel Pentium Model 15
Speed = 1995 MHz
Memory = 4096 MB

Tournament = Win, Win or Draw
Processing Start = 2014/06/30 14:00:28.954
Processing End = 2014/06/30 14:00:28.970
Duration = 0000/00/00 00:00:00.016
# Tests Run = 25
# Tests Passed = 25
# Tests Failed = 0
Result = Passed
KiXGolf Score = 292

Thank you for participating in KiXtart Golf!


[edit, make that 290]


LonkeroAdministrator
(KiX Master Guru)
2014-06-30 09:06 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

last one, I try to promise...
 Quote:

KiXtart Version = 4.63
KiXGolf Script = kixgolf_wwd.kix
Scoring Engine = 3.3
OS = Windows 7 Professional Edition
CPU = Intel Pentium Model 15
Speed = 1995 MHz
Memory = 4096 MB

Tournament = Win, Win or Draw
Processing Start = 2014/06/30 14:05:43.779
Processing End = 2014/06/30 14:05:43.810
Duration = 0000/00/00 00:00:00.030
# Tests Run = 25
# Tests Passed = 25
# Tests Failed = 0
Result = Passed
KiXGolf Score = 284

Thank you for participating in KiXtart Golf!


LonkeroAdministrator
(KiX Master Guru)
2014-06-30 09:11 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

whoops...
 Quote:

KiXtart Version = 4.63
KiXGolf Script = kixgolf_wwd.kix
Scoring Engine = 3.3
OS = Windows 7 Professional Edition
CPU = Intel Pentium Model 15
Speed = 1995 MHz
Memory = 4096 MB

Tournament = Win, Win or Draw
Processing Start = 2014/06/30 14:11:00.022
Processing End = 2014/06/30 14:11:00.053
Duration = 0000/00/00 00:00:00.031
# Tests Run = 25
# Tests Passed = 25
# Tests Failed = 0
Result = Passed
KiXGolf Score = 280

Thank you for participating in KiXtart Golf!


LonkeroAdministrator
(KiX Master Guru)
2014-06-30 09:20 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

 Quote:

KiXtart Version = 4.63
KiXGolf Script = kixgolf_wwd.kix
Scoring Engine = 3.3
OS = Windows 7 Professional Edition
CPU = Intel Pentium Model 15
Speed = 1995 MHz
Memory = 4096 MB

Tournament = Win, Win or Draw
Processing Start = 2014/06/30 14:19:29.929
Processing End = 2014/06/30 14:19:29.961
Duration = 0000/00/00 00:00:00.032
# Tests Run = 25
# Tests Passed = 25
# Tests Failed = 0
Result = Passed
KiXGolf Score = 277

Thank you for participating in KiXtart Golf!


LonkeroAdministrator
(KiX Master Guru)
2014-06-30 09:34 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

Tournament = Win, Win or Draw
Processing Start = 2014/06/30 14:32:36.788
Processing End = 2014/06/30 14:32:36.819
Duration = 0000/00/00 00:00:00.031
# Tests Run = 25
# Tests Passed = 25
# Tests Failed = 0
Result = Passed
KiXGolf Score = 274

Thank you for participating in KiXtart Golf!


LonkeroAdministrator
(KiX Master Guru)
2014-06-30 09:47 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

KiXtart Version = 4.63
KiXGolf Script = kixgolf_wwd.kix
Scoring Engine = 3.3
OS = Windows 7 Professional Edition
CPU = Intel Pentium Model 15
Speed = 1995 MHz
Memory = 4096 MB

Tournament = Win, Win or Draw
Processing Start = 2014/06/30 14:46:54.106
Processing End = 2014/06/30 14:46:54.137
Duration = 0000/00/00 00:00:00.031
# Tests Run = 25
# Tests Passed = 25
# Tests Failed = 0
Result = Passed
KiXGolf Score = 271

Thank you for participating in KiXtart Golf!


why it seems that I am the only one here...


LonkeroAdministrator
(KiX Master Guru)
2014-06-30 09:54 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

KiXtart Version = 4.63
KiXGolf Script = kixgolf_wwd.kix
Scoring Engine = 3.3
OS = Windows 7 Professional Edition
CPU = Intel Pentium Model 15
Speed = 1995 MHz
Memory = 4096 MB

Tournament = Win, Win or Draw
Processing Start = 2014/06/30 14:54:12.007
Processing End = 2014/06/30 14:54:12.038
Duration = 0000/00/00 00:00:00.031
# Tests Run = 25
# Tests Passed = 25
# Tests Failed = 0
Result = Passed
KiXGolf Score = 261

Thank you for participating in KiXtart Golf!


LonkeroAdministrator
(KiX Master Guru)
2014-06-30 10:12 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

260

Howard Bullock
(KiX Supporter)
2014-06-30 10:22 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

Never mind... Missed the part about length of input.

what am I missing here??

[Test10]
Input=zero,seventeen
Output=zero=1, seventeen=1, Winner=seventeen

Shouldn't this be a "Draw"?


LonkeroAdministrator
(KiX Master Guru)
2014-06-30 10:59 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

nice to see you playing too!

LonkeroAdministrator
(KiX Master Guru)
2014-06-30 11:04 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

KiXtart Version = 4.63
KiXGolf Script = kixgolf_wwd.kix
Scoring Engine = 3.3
OS = Windows 7 Professional Edition
CPU = Intel Pentium Model 15
Speed = 1995 MHz
Memory = 4096 MB

Tournament = Win, Win or Draw
Processing Start = 2014/06/30 16:04:03.440
Processing End = 2014/06/30 16:04:03.471
Duration = 0000/00/00 00:00:00.030
# Tests Run = 25
# Tests Passed = 25
# Tests Failed = 0
Result = Passed
KiXGolf Score = 257

Thank you for participating in KiXtart Golf!


maciep
(Korg Regular)
2014-07-01 02:34 AM
Re: Kixgolf - Win, Win, or Draw - Private Round

Man, I forget so many of the good tricks...might have to go digging through the archives

 Code:
KiXtart Version  = 4.60
KiXGolf Script   = kixgolf_wwd.kix
Scoring Engine   = 3.3
OS               = Windows 6.2 / 1
CPU              = Intel Pentium III Xeon
Speed            = 2195 MHz
Memory           = 4096 MB

Tournament       = Win, Win or Draw
Processing Start = 2014/06/30 20:33:53.962
Processing End   = 2014/06/30 20:33:53.976
Duration         = 0000/00/00 00:00:00.013
# Tests Run      = 25
# Tests Passed   = 25
# Tests Failed   = 0
Result           = Passed
KiXGolf Score    = 320


maciep
(Korg Regular)
2014-07-01 02:43 AM
Re: Kixgolf - Win, Win, or Draw - Private Round

305

AllenAdministrator
(KiX Supporter)
2014-07-01 03:25 AM
Re: Kixgolf - Win, Win, or Draw - Private Round


 Code:
Jooel       257
Maciep      305
Jochen      321
Drill       487


maciep
(Korg Regular)
2014-07-01 03:36 AM
Re: Kixgolf - Win, Win, or Draw - Private Round

I know there are some big useless chunks in there still. But good enough for today.

Tournament = Win, Win or Draw
Processing Start = 2014/06/30 21:34:47.006
Processing End = 2014/06/30 21:34:47.019
Duration = 0000/00/00 00:00:00.013
# Tests Run = 25
# Tests Passed = 25
# Tests Failed = 0
Result = Passed
KiXGolf Score = 298


LonkeroAdministrator
(KiX Master Guru)
2014-07-01 04:21 AM
Re: Kixgolf - Win, Win, or Draw - Private Round

Under 3. Awesome. I will most likely be the frustrated one in the end \:\)

JochenAdministrator
(KiX Supporter)
2014-07-01 10:28 AM
Re: Kixgolf - Win, Win, or Draw - Private Round

lacking good ideas for a new approach, I am playing a bit with the first.

309


JochenAdministrator
(KiX Supporter)
2014-07-01 10:29 AM
Re: Kixgolf - Win, Win, or Draw - Private Round

303

Howard Bullock
(KiX Supporter)
2014-07-01 02:26 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

Still working to get a successful run. I have to get the KiX dust bunnies out the brain after such a long retirement.

JochenAdministrator
(KiX Supporter)
2014-07-01 02:32 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

We should golf more often then \:\)

JochenAdministrator
(KiX Supporter)
2014-07-01 03:40 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

oh hey,

301



JochenAdministrator
(KiX Supporter)
2014-07-01 03:43 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

Hi Eric,
draw again: 298



LonkeroAdministrator
(KiX Master Guru)
2014-07-01 04:16 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

I can't find anywhere to cut \:\(

JochenAdministrator
(KiX Supporter)
2014-07-01 04:19 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

you should be save though.

No way my current approach holds 42 strokes to shave.
Well, maybe a complete rewrite, but i doubt it


LonkeroAdministrator
(KiX Master Guru)
2014-07-01 04:33 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

just in case...

this one is first one that is not completely understandable by just glancing at the code.
but lot of strokes, so I don't feel so bad \:\)

KiXtart Version = 4.63
KiXGolf Script = kixgolf_wwd.kix
Scoring Engine = 3.3
OS = Windows 7 Professional Edition
CPU = Intel Pentium Model 15
Speed = 1995 MHz
Memory = 4096 MB

Tournament = Win, Win or Draw
Processing Start = 2014/07/01 09:31:48.045
Processing End = 2014/07/01 09:31:48.076
Duration = 0000/00/00 00:00:00.031
# Tests Run = 25
# Tests Passed = 25
# Tests Failed = 0
Result = Passed
KiXGolf Score = 242

Thank you for participating in KiXtart Golf!


ShaneEP
(MM club member)
2014-07-01 04:34 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

I almost got it working yesterday, but in the upper 400's for strokes lol. Will see if I have more time to work on it later today.

Howard Bullock
(KiX Supporter)
2014-07-01 04:37 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

Got the dust bunnies on the run...Finally! Now to see I if can optimize.

 Quote:
KiXtart Version = 4.64
KiXGolf Script = kixgolf_wwd.kix
Scoring Engine = 3.3
OS = Windows 7 Professional Edition
CPU = Intel Pentium Celeron
Speed = 2394 MHz
Memory = 8192 MB

Tournament = Win, Win or Draw
Processing Start = 2014/07/01 10:35:14.381
Processing End = 2014/07/01 10:35:14.427
Duration = 0000/00/00 00:00:00.046
# Tests Run = 25
# Tests Passed = 25
# Tests Failed = 0
Result = Passed
KiXGolf Score = 377

Thank you for participating in KiXtart Golf!


LonkeroAdministrator
(KiX Master Guru)
2014-07-01 04:37 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

one more...
KiXtart Version = 4.63
KiXGolf Script = kixgolf_wwd.kix
Scoring Engine = 3.3
OS = Windows 7 Professional Edition
CPU = Intel Pentium Model 15
Speed = 1995 MHz
Memory = 4096 MB

Tournament = Win, Win or Draw
Processing Start = 2014/07/01 09:36:35.253
Processing End = 2014/07/01 09:36:35.269
Duration = 0000/00/00 00:00:00.016
# Tests Run = 25
# Tests Passed = 25
# Tests Failed = 0
Result = Passed
KiXGolf Score = 237


LonkeroAdministrator
(KiX Master Guru)
2014-07-01 04:39 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

Yehaa. One more oldie tee's off! awesome!

JochenAdministrator
(KiX Supporter)
2014-07-01 04:41 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

Way to go Howard!

JochenAdministrator
(KiX Supporter)
2014-07-01 04:56 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

oh, didnt expect this to work ..

287


LonkeroAdministrator
(KiX Master Guru)
2014-07-01 05:01 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

wtg Jochen!
 Quote:

KiXtart Version = 4.63
KiXGolf Script = kixgolf_wwd.kix
Scoring Engine = 3.3
OS = Windows 7 Professional Edition
CPU = Intel Pentium Model 15
Speed = 1995 MHz
Memory = 4096 MB

Tournament = Win, Win or Draw
Processing Start = 2014/07/01 10:00:50.980
Processing End = 2014/07/01 10:00:51.011
Duration = 0000/00/00 00:00:00.030
# Tests Run = 25
# Tests Passed = 25
# Tests Failed = 0
Result = Passed
KiXGolf Score = 236


Howard Bullock
(KiX Supporter)
2014-07-01 05:12 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

Feeling a little inadequate...but improving a little.

 Quote:
KiXtart Version = 4.64
KiXGolf Script = kixgolf_wwd.kix
Scoring Engine = 3.3
OS = Windows 7 Professional Edition
CPU = Intel Pentium Celeron
Speed = 2394 MHz
Memory = 8192 MB

Tournament = Win, Win or Draw
Processing Start = 2014/07/01 11:10:08.993
Processing End = 2014/07/01 11:10:09.039
Duration = 0000/00/00 00:00:00.045
# Tests Run = 25
# Tests Passed = 25
# Tests Failed = 0
Result = Passed
KiXGolf Score = 350

Thank you for participating in KiXtart Golf!


LonkeroAdministrator
(KiX Master Guru)
2014-07-01 05:19 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

Howard. I was there yesterday. But coming behind at least assures you there is still things to shave \:\)

KiXtart Version = 4.63
KiXGolf Script = kixgolf_wwd.kix
Scoring Engine = 3.3
OS = Windows 7 Professional Edition
CPU = Intel Pentium Model 15
Speed = 1995 MHz
Memory = 4096 MB

Tournament = Win, Win or Draw
Processing Start = 2014/07/01 10:17:05.892
Processing End = 2014/07/01 10:17:05.917
Duration = 0000/00/00 00:00:00.025
# Tests Run = 25
# Tests Passed = 25
# Tests Failed = 0
Result = Passed
KiXGolf Score = 226

Thank you for participating in KiXtart Golf!


AllenAdministrator
(KiX Supporter)
2014-07-01 05:29 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

10 strokes! wow!

AllenAdministrator
(KiX Supporter)
2014-07-01 05:51 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

What test(s) are you struggling with Shane?

LonkeroAdministrator
(KiX Master Guru)
2014-07-01 05:59 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

funny thing is, this tighter code actually makes a lot more sense to me now \:\)

KiXtart Version = 4.63
KiXGolf Script = kixgolf_wwd.kix
Scoring Engine = 3.3
OS = Windows 7 Professional Edition
CPU = Intel Pentium Model 15
Speed = 1995 MHz
Memory = 4096 MB

Tournament = Win, Win or Draw
Processing Start = 2014/07/01 10:58:17.753
Processing End = 2014/07/01 10:58:17.776
Duration = 0000/00/00 00:00:00.023
# Tests Run = 25
# Tests Passed = 25
# Tests Failed = 0
Result = Passed
KiXGolf Score = 224

Thank you for participating in KiXtart Golf!


Howard Bullock
(KiX Supporter)
2014-07-01 07:45 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

I think I will have to rethink my approach to the problem to substantially reduce the score any further.

 Quote:
KiXtart Version = 4.64
KiXGolf Script = kixgolf_wwd.kix
Scoring Engine = 3.3
OS = Windows 7 Professional Edition
CPU = Intel Pentium Celeron
Speed = 2394 MHz
Memory = 8192 MB

Tournament = Win, Win or Draw
Processing Start = 2014/07/01 13:44:11.942
Processing End = 2014/07/01 13:44:11.958
Duration = 0000/00/00 00:00:00.015
# Tests Run = 25
# Tests Passed = 25
# Tests Failed = 0
Result = Passed
KiXGolf Score = 337


JochenAdministrator
(KiX Supporter)
2014-07-01 09:04 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

btw, here my official 287 score


KiXtart Version = 4.64
KiXGolf Script = kixgolf_wwd.kix
Scoring Engine = 3.3
OS = Windows 7 Professional Edition
CPU = Intel Pentium III Xeon
Speed = 2193 MHz
Memory = 4096 MB

Tournament = Win, Win or Draw
Processing Start = 2014/07/01 21:01:59.331
Processing End = 2014/07/01 21:01:59.331
Duration = 0000/00/00 00:00:00.000
# Tests Run = 25
# Tests Passed = 25
# Tests Failed = 0
Result = Passed
KiXGolf Score = 287

Thank you for participating in KiXtart Golf!



ShaneEP
(MM club member)
2014-07-01 09:12 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

I got all the number working correctly. Just trying to find an efficient way to determine winner/draw scenarios.

LonkeroAdministrator
(KiX Master Guru)
2014-07-01 11:25 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

updated my mobo and cpu...

KiXtart Version = 4.63
KiXGolf Script = kixgolf_wwd.kix
Scoring Engine = 3.3
OS = Windows 7 Professional Edition
CPU = Intel Pentium Model 12
Speed = 3500 MHz
Memory = 8192 MB

Tournament = Win, Win or Draw
Processing Start = 2014/07/01 16:23:07.199
Processing End = 2014/07/01 16:23:07.199
Duration = 0000/00/00 00:00:00.000
# Tests Run = 25
# Tests Passed = 25
# Tests Failed = 0
Result = Passed
KiXGolf Score = 224

Thank you for participating in KiXtart Golf!


Glenn BarnasAdministrator
(KiX Supporter)
2014-07-02 03:28 AM
Re: Kixgolf - Win, Win, or Draw - Private Round

I'm at least on the course... been really busy at work and finally had a few minutes tonight to play the first round:
 Code:
KiXtart Version  = 4.62
KiXGolf Script   = kixgolf_wwd.kix
Scoring Engine   = 3.3
OS               = Windows 7 Professional Edition
CPU              = Intel Pentium Model 14
Speed            = 2793 MHz
Memory           = 12292 MB

Tournament       = Win, Win or Draw
Processing Start = 2014/07/01 21:25:25.920
Processing End   = 2014/07/01 21:25:25.951
Duration         = 0000/00/00 00:00:00.031
# Tests Run      = 25
# Tests Passed   = 25
# Tests Failed   = 0
Result           = Passed
KiXGolf Score    = 440

Thank you for participating in KiXtart Golf!
Now that I have the logic, I can work on tightening it up.

Glenn


AllenAdministrator
(KiX Supporter)
2014-07-02 03:31 AM
Re: Kixgolf - Win, Win, or Draw - Private Round

Awesome. Good job! \:\)

Arend_
(MM club member)
2014-07-02 11:46 AM
Re: Kixgolf - Win, Win, or Draw - Private Round

For the first time participating in KiXGolf, I really need some golfing down...
 Code:
KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_wwd.kix
Scoring Engine   = 3.3
OS               = Windows 7 Professional Edition
CPU              = Intel Pentium Model 12
Speed            = 2394 MHz
Memory           = 8192 MB

Tournament       = Win, Win or Draw
Processing Start = 2014/07/02 11:43:25.425
Processing End   = 2014/07/02 11:43:25.434
Duration         = 0000/00/00 00:00:00.008
# Tests Run      = 25
# Tests Passed   = 25
# Tests Failed   = 0
Result           = Passed
KiXGolf Score    = 780


Arend_
(MM club member)
2014-07-02 11:51 AM
Re: Kixgolf - Win, Win, or Draw - Private Round

Fore!
 Code:
KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_wwd.kix
Scoring Engine   = 3.3
OS               = Windows 7 Professional Edition
CPU              = Intel Pentium Model 12
Speed            = 2394 MHz
Memory           = 8192 MB

Tournament       = Win, Win or Draw
Processing Start = 2014/07/02 11:50:19.468
Processing End   = 2014/07/02 11:50:19.477
Duration         = 0000/00/00 00:00:00.008
# Tests Run      = 25
# Tests Passed   = 25
# Tests Failed   = 0
Result           = Passed
KiXGolf Score    = 712


Arend_
(MM club member)
2014-07-02 11:54 AM
Re: Kixgolf - Win, Win, or Draw - Private Round

Fore!
 Code:
KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_wwd.kix
Scoring Engine   = 3.3
OS               = Windows 7 Professional Edition
CPU              = Intel Pentium Model 12
Speed            = 2394 MHz
Memory           = 8192 MB

Tournament       = Win, Win or Draw
Processing Start = 2014/07/02 11:53:32.251
Processing End   = 2014/07/02 11:53:32.264
Duration         = 0000/00/00 00:00:00.013
# Tests Run      = 25
# Tests Passed   = 25
# Tests Failed   = 0
Result           = Passed
KiXGolf Score    = 669


Arend_
(MM club member)
2014-07-02 11:56 AM
Re: Kixgolf - Win, Win, or Draw - Private Round

Baby steps...
 Code:
KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_wwd.kix
Scoring Engine   = 3.3
OS               = Windows 7 Professional Edition
CPU              = Intel Pentium Model 12
Speed            = 2394 MHz
Memory           = 8192 MB

Tournament       = Win, Win or Draw
Processing Start = 2014/07/02 11:55:28.497
Processing End   = 2014/07/02 11:55:28.519
Duration         = 0000/00/00 00:00:00.021
# Tests Run      = 25
# Tests Passed   = 25
# Tests Failed   = 0
Result           = Passed
KiXGolf Score    = 664


Arend_
(MM club member)
2014-07-02 12:10 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

I guess I'm no match for the greats here...
 Code:
KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_wwd.kix
Scoring Engine   = 3.3
OS               = Windows 7 Professional Edition
CPU              = Intel Pentium Model 12
Speed            = 2394 MHz
Memory           = 8192 MB

Tournament       = Win, Win or Draw
Processing Start = 2014/07/02 12:08:56.103
Processing End   = 2014/07/02 12:08:56.121
Duration         = 0000/00/00 00:00:00.017
# Tests Run      = 25
# Tests Passed   = 25
# Tests Failed   = 0
Result           = Passed
KiXGolf Score    = 622


JochenAdministrator
(KiX Supporter)
2014-07-02 12:30 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

Welcome on the course Arend \:\)

JochenAdministrator
(KiX Supporter)
2014-07-02 12:48 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

finally progress!

277


Arend_
(MM club member)
2014-07-02 01:12 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

613..

Arend_
(MM club member)
2014-07-02 01:31 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

601.

Arend_
(MM club member)
2014-07-02 01:34 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

596.

JochenAdministrator
(KiX Supporter)
2014-07-02 02:26 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

273

Arend_
(MM club member)
2014-07-02 02:30 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

577

JochenAdministrator
(KiX Supporter)
2014-07-02 02:31 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

272

AllenAdministrator
(KiX Supporter)
2014-07-02 02:42 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

Arend... WELCOME to the course! Now show these noobs how to play \:\)

LonkeroAdministrator
(KiX Master Guru)
2014-07-02 04:31 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

a dirty trick...


KiXtart Version = 4.63
KiXGolf Script = kixgolf_wwd.kix
Scoring Engine = 3.3
OS = Windows 7 Professional Edition
CPU = Intel Pentium Model 12
Speed = 3500 MHz
Memory = 8192 MB

Tournament = Win, Win or Draw
Processing Start = 2014/07/02 09:30:31.782
Processing End = 2014/07/02 09:30:31.797
Duration = 0000/00/00 00:00:00.014
# Tests Run = 25
# Tests Passed = 25
# Tests Failed = 0
Result = Passed
KiXGolf Score = 223


JochenAdministrator
(KiX Supporter)
2014-07-02 04:44 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

can't shave anymore.
I have no idea what you are doing there, tbh.

Maybe starting from scratch will help


Arend_
(MM club member)
2014-07-02 05:03 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

Don't think so Allen \:\(
548 after a rewrite.


Arend_
(MM club member)
2014-07-02 05:09 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

542

Howard Bullock
(KiX Supporter)
2014-07-02 05:20 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

I do not think I will catch up unless I have a epiphany.

 Quote:
KiXtart Version = 4.64
KiXGolf Script = kixgolf_wwd.kix
Scoring Engine = 3.3
OS = Windows 7 Professional Edition
CPU = Intel Pentium Celeron
Speed = 2394 MHz
Memory = 8192 MB

Tournament = Win, Win or Draw
Processing Start = 2014/07/02 11:18:36.410
Processing End = 2014/07/02 11:18:36.535
Duration = 0000/00/00 00:00:00.125
# Tests Run = 25
# Tests Passed = 25
# Tests Failed = 0
Result = Passed
KiXGolf Score = 326


AllenAdministrator
(KiX Supporter)
2014-07-02 05:39 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

 Code:
Jooel       223
Jochen      272
Maciep      298
Howard      326
Glenn       440
Drill       487
Arend       542





JochenAdministrator
(KiX Supporter)
2014-07-02 05:47 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

with Shane on the way to Tee off you can't complain about lack of interest this time Allen ;\)

AllenAdministrator
(KiX Supporter)
2014-07-02 06:01 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

Very happy to see everyone playing. It makes the work putting it together a little less painful. \:\)

maciep
(Korg Regular)
2014-07-02 06:19 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

Great to see everyone out on the course! I probably won't get back to it until tomorrow ...and I'm thinking rewrite too

Arend_
(MM club member)
2014-07-02 08:27 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

Can't believe I'm the worst of our merry bunch \:\(

LonkeroAdministrator
(KiX Master Guru)
2014-07-02 09:04 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

no, the worst ones haven't even started yet \:\)

like Shawn and ...


JochenAdministrator
(KiX Supporter)
2014-07-02 10:31 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

meh


KiXtart Version = 4.64
KiXGolf Script = kixgolf_wwd.kix
Scoring Engine = 3.3
OS = Windows 7 Professional Edition
CPU = Intel Pentium III Xeon
Speed = 2193 MHz
Memory = 4096 MB

Tournament = Win, Win or Draw
Processing Start = 2014/07/02 22:30:07.113
Processing End = 2014/07/02 22:30:07.113
Duration = 0000/00/00 00:00:00.000
# Tests Run = 25
# Tests Passed = 25
# Tests Failed = 0
Result = Passed
KiXGolf Score = 271


Stoke
(Fresh Scripter)
2014-07-03 12:57 AM
Re: Kixgolf - Win, Win, or Draw - Private Round

As challenged by my co-worker, had a bit of trouble getting used to scripting but think the result aint half bad

With the results of my first version
 Code:

KiXtart Version  = 4.64
KiXGolf Script   = kixgolf_wwd.kix
Scoring Engine   = 3.3
OS               = Windows 7 Professional Edition
CPU              = Intel Pentium III Xeon
Speed            = 3399 MHz
Memory           = 8192 MB

Tournament       = Win, Win or Draw
Processing Start = 2014/07/03 00:51:25.161
Processing End   = 2014/07/03 00:51:25.174
Duration         = 0000/00/00 00:00:00.012
# Tests Run      = 25
# Tests Passed   = 25
# Tests Failed   = 0
Result           = Passed
KiXGolf Score    = 368

Thank you for participating in KiXtart Golf!


AllenAdministrator
(KiX Supporter)
2014-07-03 01:06 AM
Re: Kixgolf - Win, Win, or Draw - Private Round

Awesome first post. Welcome to the Korg, and to the Kixgolf Course!

Who's your co-worker?


Stoke
(Fresh Scripter)
2014-07-03 01:10 AM
Re: Kixgolf - Win, Win, or Draw - Private Round

Arend, the other person also first time KiXtart golfing ;\)

Glenn BarnasAdministrator
(KiX Supporter)
2014-07-03 01:49 AM
Re: Kixgolf - Win, Win, or Draw - Private Round

Have to leave the course - severe lightning & thunder! \:D
 Code:
KiXtart Version  = 4.62
KiXGolf Script   = kixgolf_wwd.kix
Scoring Engine   = 3.3
OS               = Windows 7 Professional Edition
CPU              = Intel Pentium Model 14
Speed            = 2793 MHz
Memory           = 12292 MB

Tournament       = Win, Win or Draw
Processing Start = 2014/07/02 19:48:30.659
Processing End   = 2014/07/02 19:48:30.690
Duration         = 0000/00/00 00:00:00.031
# Tests Run      = 25
# Tests Passed   = 25
# Tests Failed   = 0
Result           = Passed
KiXGolf Score    = 399

Thank you for participating in KiXtart Golf!


Glenn BarnasAdministrator
(KiX Supporter)
2014-07-03 02:06 AM
Re: Kixgolf - Win, Win, or Draw - Private Round

Couldn't resist...
 Code:
KiXtart Version  = 4.62
KiXGolf Script   = kixgolf_wwd.kix
Scoring Engine   = 3.3
OS               = Windows 7 Professional Edition
CPU              = Intel Pentium Model 14
Speed            = 2793 MHz
Memory           = 12292 MB

Tournament       = Win, Win or Draw
Processing Start = 2014/07/02 20:04:30.410
Processing End   = 2014/07/02 20:04:30.426
Duration         = 0000/00/00 00:00:00.016
# Tests Run      = 25
# Tests Passed   = 25
# Tests Failed   = 0
Result           = Passed
KiXGolf Score    = 382

Thank you for participating in KiXtart Golf!
At least moving in the right direction. \:\)


LonkeroAdministrator
(KiX Master Guru)
2014-07-03 05:35 AM
Re: Kixgolf - Win, Win, or Draw - Private Round

So what happened to that lighting storm???

Howard Bullock
(KiX Supporter)
2014-07-03 05:37 AM
Re: Kixgolf - Win, Win, or Draw - Private Round

Still looking for the Holy Grail, but have shaved a few strokes.

 Quote:
KiXtart Version = 4.64
KiXGolf Script = kixgolf_wwd.kix
Scoring Engine = 3.3
OS = Windows 7 Professional Edition
CPU = Intel Pentium Celeron
Speed = 2394 MHz
Memory = 8192 MB

Tournament = Win, Win or Draw
Processing Start = 2014/07/02 23:34:56.855
Processing End = 2014/07/02 23:34:56.871
Duration = 0000/00/00 00:00:00.016
# Tests Run = 25
# Tests Passed = 25
# Tests Failed = 0
Result = Passed
KiXGolf Score = 320


Still tweaking...

 Quote:
KiXtart Version = 4.64
KiXGolf Script = kixgolf_wwd.kix
Scoring Engine = 3.3
OS = Windows 7 Professional Edition
CPU = Intel Pentium Celeron
Speed = 2394 MHz
Memory = 8192 MB

Tournament = Win, Win or Draw
Processing Start = 2014/07/02 23:42:00.346
Processing End = 2014/07/02 23:42:00.361
Duration = 0000/00/00 00:00:00.014
# Tests Run = 25
# Tests Passed = 25
# Tests Failed = 0
Result = Passed
KiXGolf Score = 317


Howard Bullock
(KiX Supporter)
2014-07-03 05:52 AM
Re: Kixgolf - Win, Win, or Draw - Private Round

I am getting ever closer to breaking 300.

 Quote:
KiXtart Version = 4.64
KiXGolf Script = kixgolf_wwd.kix
Scoring Engine = 3.3
OS = Windows 7 Professional Edition
CPU = Intel Pentium Celeron
Speed = 2394 MHz
Memory = 8192 MB

Tournament = Win, Win or Draw
Processing Start = 2014/07/02 23:49:13.267
Processing End = 2014/07/02 23:49:13.267
Duration = 0000/00/00 00:00:00.000
# Tests Run = 25
# Tests Passed = 25
# Tests Failed = 0
Result = Passed
KiXGolf Score = 312


Howard Bullock
(KiX Supporter)
2014-07-03 06:38 AM
Re: Kixgolf - Win, Win, or Draw - Private Round

WooHoo! Time for bed...

 Quote:
KiXtart Version = 4.64
KiXGolf Script = kixgolf_wwd.kix
Scoring Engine = 3.3
OS = Windows 7 Professional Edition
CPU = Intel Pentium Celeron
Speed = 2394 MHz
Memory = 8192 MB

Tournament = Win, Win or Draw
Processing Start = 2014/07/03 00:35:28.265
Processing End = 2014/07/03 00:35:28.280
Duration = 0000/00/00 00:00:00.015
# Tests Run = 25
# Tests Passed = 25
# Tests Failed = 0
Result = Passed
KiXGolf Score = 297


Howard Bullock
(KiX Supporter)
2014-07-03 07:03 AM
Re: Kixgolf - Win, Win, or Draw - Private Round

 Quote:
KiXtart Version = 4.64
KiXGolf Script = kixgolf_wwd.kix
Scoring Engine = 3.3
OS = Windows 7 Professional Edition
CPU = Intel Pentium Celeron
Speed = 2394 MHz
Memory = 8192 MB

Tournament = Win, Win or Draw
Processing Start = 2014/07/03 01:02:23.191
Processing End = 2014/07/03 01:02:23.207
Duration = 0000/00/00 00:00:00.016
# Tests Run = 25
# Tests Passed = 25
# Tests Failed = 0
Result = Passed
KiXGolf Score = 292


JochenAdministrator
(KiX Supporter)
2014-07-03 09:40 AM
Re: Kixgolf - Win, Win, or Draw - Private Round

still struggling with 1st approach.

269


NTDOCAdministrator
(KiX Master)
2014-07-03 10:09 AM
Re: Kixgolf - Win, Win, or Draw - Private Round

Awesome great job everyone... I can never figure out how to get these off the ground floor but love to watch none the less. Just don't have that abstract thinking I suppose.

Viggen
(Starting to like KiXtart)
2014-07-03 10:25 AM
Re: Kixgolf - Win, Win, or Draw - Private Round

Gah...

Waay to long since i did anything in kix.
Ugly coding and a bunch of errors :-/


Luckily my vacation starts in 30 hours, so I can try and focus on this a little bit more :-)


Arend_
(MM club member)
2014-07-03 11:36 AM
Re: Kixgolf - Win, Win, or Draw - Private Round

530
Thanks to tips from Stoke \:\)


LonkeroAdministrator
(KiX Master Guru)
2014-07-03 01:56 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

If that's all it takes, here is one from me: Writing shorter code gives you a better score ;\)

Howard Bullock
(KiX Supporter)
2014-07-03 03:43 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

I can't seem to find the magic methodology that Lonk discovered, but I am still looking.

 Quote:
KiXtart Version = 4.64
KiXGolf Script = kixgolf_wwd.kix
Scoring Engine = 3.3
OS = Windows 7 Professional Edition
CPU = Intel Pentium Celeron
Speed = 2394 MHz
Memory = 8192 MB

Tournament = Win, Win or Draw
Processing Start = 2014/07/03 09:40:31.204
Processing End = 2014/07/03 09:40:31.236
Duration = 0000/00/00 00:00:00.031
# Tests Run = 25
# Tests Passed = 25
# Tests Failed = 0
Result = Passed
KiXGolf Score = 288


JochenAdministrator
(KiX Supporter)
2014-07-03 03:52 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

same here Howard,

267


LonkeroAdministrator
(KiX Master Guru)
2014-07-03 04:22 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

what ever. you guys are getting closer all the time.

Howard Bullock
(KiX Supporter)
2014-07-03 04:43 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

hmmm...
 Quote:
KiXtart Version = 4.64
KiXGolf Script = kixgolf_wwd.kix
Scoring Engine = 3.3
OS = Windows 7 Professional Edition
CPU = Intel Pentium Celeron
Speed = 2394 MHz
Memory = 8192 MB

Tournament = Win, Win or Draw
Processing Start = 2014/07/03 10:43:08.876
Processing End = 2014/07/03 10:43:08.908
Duration = 0000/00/00 00:00:00.032
# Tests Run = 25
# Tests Passed = 25
# Tests Failed = 0
Result = Passed
KiXGolf Score = 276


Howard Bullock
(KiX Supporter)
2014-07-03 04:48 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

Sorry Jochen... \:\)
 Quote:
KiXtart Version = 4.64
KiXGolf Script = kixgolf_wwd.kix
Scoring Engine = 3.3
OS = Windows 7 Professional Edition
CPU = Intel Pentium Celeron
Speed = 2394 MHz
Memory = 8192 MB

Tournament = Win, Win or Draw
Processing Start = 2014/07/03 10:47:10.935
Processing End = 2014/07/03 10:47:10.966
Duration = 0000/00/00 00:00:00.031
# Tests Run = 25
# Tests Passed = 25
# Tests Failed = 0
Result = Passed
KiXGolf Score = 266


Howard Bullock
(KiX Supporter)
2014-07-03 05:25 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

 Quote:
# Tests Run = 25
# Tests Passed = 25
# Tests Failed = 0
Result = Passed
KiXGolf Score = 263


Glenn BarnasAdministrator
(KiX Supporter)
2014-07-03 05:33 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

 Code:
KiXtart Version  = 4.62
KiXGolf Script   = kixgolf_wwd.kix
Scoring Engine   = 3.3
OS               = Windows 7 Professional Edition
CPU              = Intel Pentium Model 14
Speed            = 2793 MHz
Memory           = 12292 MB

Tournament       = Win, Win or Draw
Processing Start = 2014/07/03 08:19:44.403
Processing End   = 2014/07/03 08:19:44.422
Duration         = 0000/00/00 00:00:00.019
# Tests Run      = 25
# Tests Passed   = 25
# Tests Failed   = 0
Result           = Passed
KiXGolf Score    = 375

Thank you for participating in KiXtart Golf!
Only 100 strokes to go! \:o


Howard Bullock
(KiX Supporter)
2014-07-03 06:27 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

 Quote:
# Tests Run = 25
# Tests Passed = 25
# Tests Failed = 0
Result = Passed
KiXGolf Score = 258


BradV
(Seasoned Scripter)
2014-07-03 08:40 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

I'm not sure I'm going to have time. Been watching the world cup and getting ready to go on vacation tomorrow. I started to write some psuedo code at work, but haven't tried it yet. \:\)

Maybe a little later this evening if I get my packing finished. \:\)


LonkeroAdministrator
(KiX Master Guru)
2014-07-04 02:03 AM
Re: Kixgolf - Win, Win, or Draw - Private Round

What is vacation without some putting?

AllenAdministrator
(KiX Supporter)
2014-07-04 02:20 AM
Re: Kixgolf - Win, Win, or Draw - Private Round

If you guys would do me a favor and at least put your scores in quote or code tags I would appreciate it. It makes it a little easier to spot your scores.

 Code:
Jooel       223
Howard      258
Jochen      267
Maciep      298
Stoke       368
Glenn       375
Drill       487
Arend       530




AllenAdministrator
(KiX Supporter)
2014-07-04 02:30 AM
Re: Kixgolf - Win, Win, or Draw - Private Round

Oh I saw Richy this morning.... hoping he might join us too.

maciep
(Korg Regular)
2014-07-04 04:49 AM
Re: Kixgolf - Win, Win, or Draw - Private Round

trying to think my way through a rewrite, but I got nothing...can't wait to see how you guys are shaving strokes!

Arend_
(MM club member)
2014-07-04 08:38 AM
Re: Kixgolf - Win, Win, or Draw - Private Round

 Code:
KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_wwd.kix
Scoring Engine   = 3.3
OS               = Windows 7 Professional Edition
CPU              = Intel Pentium Model 12
Speed            = 2394 MHz
Memory           = 8192 MB

Tournament       = Win, Win or Draw
Processing Start = 2014/07/04 08:37:46.497
Processing End   = 2014/07/04 08:37:46.507
Duration         = 0000/00/00 00:00:00.010
# Tests Run      = 25
# Tests Passed   = 25
# Tests Failed   = 0
Result           = Passed
KiXGolf Score    = 502


Arend_
(MM club member)
2014-07-04 09:24 AM
Re: Kixgolf - Win, Win, or Draw - Private Round

 Code:
KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_wwd.kix
Scoring Engine   = 3.3
OS               = Windows 7 Professional Edition
CPU              = Intel Pentium Model 12
Speed            = 2394 MHz
Memory           = 8192 MB

Tournament       = Win, Win or Draw
Processing Start = 2014/07/04 09:23:05.623
Processing End   = 2014/07/04 09:23:05.632
Duration         = 0000/00/00 00:00:00.008
# Tests Run      = 25
# Tests Passed   = 25
# Tests Failed   = 0
Result           = Passed
KiXGolf Score    = 493


JochenAdministrator
(KiX Supporter)
2014-07-04 09:30 AM
Re: Kixgolf - Win, Win, or Draw - Private Round

Howard forces me to rewrite, damn.
Always the hardest part for me. Can't seem to get easily out of the already built tracks \:\(


Arend_
(MM club member)
2014-07-04 09:31 AM
Re: Kixgolf - Win, Win, or Draw - Private Round

At least I passed Drill, no longer the last \:\)
 Code:
KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_wwd.kix
Scoring Engine   = 3.3
OS               = Windows 7 Professional Edition
CPU              = Intel Pentium Model 12
Speed            = 2394 MHz
Memory           = 8192 MB

Tournament       = Win, Win or Draw
Processing Start = 2014/07/04 09:30:09.136
Processing End   = 2014/07/04 09:30:09.145
Duration         = 0000/00/00 00:00:00.008
# Tests Run      = 25
# Tests Passed   = 25
# Tests Failed   = 0
Result           = Passed
KiXGolf Score    = 484


Arend_
(MM club member)
2014-07-04 09:43 AM
Re: Kixgolf - Win, Win, or Draw - Private Round


 Code:
KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_wwd.kix
Scoring Engine   = 3.3
OS               = Windows 7 Professional Edition
CPU              = Intel Pentium Model 12
Speed            = 2394 MHz
Memory           = 8192 MB

Tournament       = Win, Win or Draw
Processing Start = 2014/07/04 09:41:55.034
Processing End   = 2014/07/04 09:41:55.043
Duration         = 0000/00/00 00:00:00.008
# Tests Run      = 25
# Tests Passed   = 25
# Tests Failed   = 0
Result           = Passed
KiXGolf Score    = 462


Howard Bullock
(KiX Supporter)
2014-07-04 03:54 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

 Quote:
# Tests Run = 25
# Tests Passed = 25
# Tests Failed = 0
Result = Passed
KiXGolf Score = 257


LonkeroAdministrator
(KiX Master Guru)
2014-07-04 04:57 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

Wonder what's wrong with drill. He is never at the back of the pack. Or even middle....

LonkeroAdministrator
(KiX Master Guru)
2014-07-04 04:59 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

I just realized I need to VPN to the machine my code is on due to the round ending already this weekend.

AllenAdministrator
(KiX Supporter)
2014-07-06 06:05 PM
Re: Kixgolf - Win, Win, or Draw - Private Round

Nice match fellows. The private session is over, and the public part of the game continues here:

http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=209215#Post209215