AllenAdministrator
(KiX Supporter)
2011-05-01 05:09 PM
Kixgolf - Four Is Magic - Private Round

=============
The Challenge - Four is Magic
=============


A popular puzzle Teachers use to make students think about numbers is called "Four is Magic".

The puzzle would go something like this. The teacher would ask the students to give him a number. Upon
hearing the number, the teacher would do some sort of transformation on it repeatedly, until arriving at
the number four, at which point the teacher would proclaim "four is magic". The challenge for the students
was to figure out how every number they gave the teacher always equaled four.

For Example, the students gave the number 25, the teacher would say:
25 is 10. 10 is 3. 3 is 5. 5 is 4. 4 is magic.

The solution to the puzzle was to take the number in question and count the number of letters in the word(in
English, ignoring spaces and hypens"). Upon getting this number, repeat on the next number, until the number of letters equals 4.

So using the example above:
25 has 10 letters.
10 has 3 letters.
3 has 5 letters.
5 has 4 letters.
4 is magic.


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

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


Given a number(in words or a number), determine the transformation, and proclaim "4/Four is Magic".

There is one exception rule. When the input is only "4" or "four", there is no transformation. Just simply proclaim
4 is magic. or four is magic.


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


The input consists of either a number(0-99) or a string representing a number(zero - ninety nine).

If the input is a number (0-99), the output is in the format of:
25 is 10. 10 is 3. 3 is 5. 5 is 4. 4 is magic.

If the input is a string (zero through ninety nine), and the input numbers have spaces, the output is in
the format of: twenty five is ten. ten is three. three is five. five is four. four is magic.

If the input is string (zero through ninety-nine), and the input numbers have hyphens, the output is in
the format of: twenty-five is ten. ten is three. three is five. five is four. four is magic.

** When counting number of letters, ignore spaces or hypens. **



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

- The scoring engine has added code to help diagnose which cases are failing. To see test case results:
 Code:
   kix32 kixgolf_fim $verbose=1 ;shows failing results
   kix32 kixgolf_fim $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: 2011-05-01 to 2011-05-08 (Official Count down clock will determine end time)

2) Public coding phase: 2011-05-08 to 2010-05-15

3) Final results: 2011-08-16


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


AllenAdministrator
(KiX Supporter)
2011-05-01 05:12 PM
Re: Kixgolf - Four Is Magic - Private Round



AllenAdministrator
(KiX Supporter)
2011-05-01 05:14 PM
Re: Kixgolf - Four Is Magic - Private Round

I had some work to do this afternoon, so I started it a little early. Hope you enjoy.

JochenAdministrator
(KiX Supporter)
2011-05-01 05:34 PM
Re: Kixgolf - Four Is Magic - Private Round

Hey,
your countdownclock still has 26 minutes left

btw. nice problem Allen.


LonkeroAdministrator
(KiX Master Guru)
2011-05-01 07:28 PM
Re: Kixgolf - Four Is Magic - Private Round

woot? text input? wtf! does not compute...

AllenAdministrator
(KiX Supporter)
2011-05-01 07:38 PM
Re: Kixgolf - Four Is Magic - Private Round

lol... okay... string is what I meant. fixed. \:\)

JochenAdministrator
(KiX Supporter)
2011-05-01 07:39 PM
Re: Kixgolf - Four Is Magic - Private Round

hehe, thats what I thought too ..

here are my first miserable steps:

 Code:
KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows 7 Professional Edition
CPU              = Intel Pentium III
Speed            = 2669 MHz
Memory           = 4096 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/01 19:37:27.420
Processing End   = 2011/05/01 19:37:27.670
Duration         = 0000/00/00 00:00:00.250
# Tests Run      = 200
# Tests Passed   = 54
# Tests Failed   = 146
Result           = failed
KiXGolf Score    = 409

Thank you for participating in KiXtart Golf!
Press any key to continue...


nB.: someone stolen my Q8400 and replaced it with a P III ???


maciep
(Korg Regular)
2011-05-01 07:45 PM
Re: Kixgolf - Four Is Magic - Private Round

this should be interesting...

maciep
(Korg Regular)
2011-05-01 08:06 PM
Re: Kixgolf - Four Is Magic - Private Round

getting there

 Code:
KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows 7 Home Premium Edition
CPU              = AMD Turion(tm) II P540 Dual-Core Processor
Speed            = 2394 MHz
Memory           = 4096 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/01 14:05:40.719
Processing End   = 2011/05/01 14:05:40.760
Duration         = 0000/00/00 00:00:00.041
# Tests Run      = 200
# Tests Passed   = 92
# Tests Failed   = 108
Result           = failed
KiXGolf Score    = 249


LonkeroAdministrator
(KiX Master Guru)
2011-05-01 08:13 PM
Re: Kixgolf - Four Is Magic - Private Round

I can handle actually the input but output being readable english? that's just wicked and will hock my score BAD.

LonkeroAdministrator
(KiX Master Guru)
2011-05-01 08:13 PM
Re: Kixgolf - Four Is Magic - Private Round

well, whining done. I better see if I can wrap this up today.

maciep
(Korg Regular)
2011-05-01 08:50 PM
Re: Kixgolf - Four Is Magic - Private Round

It's ugly, but it's working

 Code:
KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows 7 Home Premium Edition
CPU              = AMD Turion(tm) II P540 Dual-Core Processor
Speed            = 2394 MHz
Memory           = 4096 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/01 14:49:15.274
Processing End   = 2011/05/01 14:49:15.828
Duration         = 0000/00/00 00:00:00.554
# Tests Run      = 200
# Tests Passed   = 200
# Tests Failed   = 
Result           = passed
KiXGolf Score    = 525

Thank you for participating in KiXtart Golf!


JochenAdministrator
(KiX Supporter)
2011-05-01 09:09 PM
Re: Kixgolf - Four Is Magic - Private Round

Nice tee off Eric, here's my actual:


KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows 7 Professional Edition
CPU              = Intel Pentium III
Speed            = 2669 MHz
Memory           = 4096 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/01 21:06:20.256
Processing End   = 2011/05/01 21:06:20.318
Duration         = 0000/00/00 00:00:00.062
# Tests Run      = 200
# Tests Passed   = 199
# Tests Failed   = 1
Result           = failed
KiXGolf Score    = 507

Thank you for participating in KiXtart Golf!
Press any key to continue...



maciep
(Korg Regular)
2011-05-01 09:39 PM
Re: Kixgolf - Four Is Magic - Private Round

Thanks, Jochen! Slashed a few more strokes, good enough for day 1

 Code:
KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows 7 Home Premium Edition
CPU              = AMD Turion(tm) II P540 Dual-Core Processor
Speed            = 2394 MHz
Memory           = 4096 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/01 15:36:44.236
Processing End   = 2011/05/01 15:36:44.297
Duration         = 0000/00/00 00:00:00.061
# Tests Run      = 200
# Tests Passed   = 200
# Tests Failed   =
Result           = passed
KiXGolf Score    = 402


JochenAdministrator
(KiX Supporter)
2011-05-01 09:43 PM
Re: Kixgolf - Four Is Magic - Private Round

The score drops, the error remains the same ...


KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows 7 Professional Edition
CPU              = Intel Pentium III
Speed            = 2669 MHz
Memory           = 4096 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/01 21:42:11.008
Processing End   = 2011/05/01 21:42:11.055
Duration         = 0000/00/00 00:00:00.046
# Tests Run      = 200
# Tests Passed   = 199
# Tests Failed   = 1
Result           = failed
KiXGolf Score    = 440

Thank you for participating in KiXtart Golf!
Press any key to continue...



LonkeroAdministrator
(KiX Master Guru)
2011-05-02 07:43 AM
Re: Kixgolf - Four Is Magic - Private Round

didn't have time yesterday to play and am late from work now, but...
 Code:
KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows 7 Professional Edition
CPU              = Intel Pentium III
Speed            = 1396 MHz
Memory           = 4096 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/02 08:41:45.276
Processing End   = 2011/05/02 08:41:45.518
Duration         = 0000/00/00 00:00:00.241
# Tests Run      = 200
# Tests Passed   = 200
# Tests Failed   =
Result           = passed
KiXGolf Score    = 461

Thank you for participating in KiXtart Golf!


LonkeroAdministrator
(KiX Master Guru)
2011-05-02 07:46 AM
Re: Kixgolf - Four Is Magic - Private Round

oops...
 Code:
KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows 7 Professional Edition
CPU              = Intel Pentium III
Speed            = 1396 MHz
Memory           = 4096 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/02 08:45:39.981
Processing End   = 2011/05/02 08:45:40.307
Duration         = 0000/00/00 00:00:00.326
# Tests Run      = 200
# Tests Passed   = 200
# Tests Failed   =
Result           = passed
KiXGolf Score    = 384

Thank you for participating in KiXtart Golf!


JochenAdministrator
(KiX Supporter)
2011-05-02 10:12 AM
Re: Kixgolf - Four Is Magic - Private Round

Very strange error I had there .. puzzled me for some hours, but now fixed..




KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows XP Professional
CPU              = Intel Pentium III
Speed            = 2526 MHz
Memory           = 4096 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/02 10:10:22.687
Processing End   = 2011/05/02 10:10:22.875
Duration         = 0000/00/00 00:00:00.188
# Tests Run      = 200
# Tests Passed   = 200
# Tests Failed   =
Result           = passed
KiXGolf Score    = 438

Thank you for participating in KiXtart Golf!
Press any key to continue...




JochenAdministrator
(KiX Supporter)
2011-05-02 10:26 AM
Re: Kixgolf - Four Is Magic - Private Round



KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows XP Professional
CPU              = Intel Pentium III
Speed            = 2526 MHz
Memory           = 4096 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/02 10:25:38.312
Processing End   = 2011/05/02 10:25:38.468
Duration         = 0000/00/00 00:00:00.156
# Tests Run      = 200
# Tests Passed   = 200
# Tests Failed   =
Result           = passed
KiXGolf Score    = 432

Thank you for participating in KiXtart Golf!
Press any key to continue...



JochenAdministrator
(KiX Supporter)
2011-05-02 10:39 AM
Re: Kixgolf - Four Is Magic - Private Round


KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows XP Professional
CPU              = Intel Pentium III
Speed            = 2526 MHz
Memory           = 4096 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/02 10:38:51.828
Processing End   = 2011/05/02 10:38:51.984
Duration         = 0000/00/00 00:00:00.155
# Tests Run      = 200
# Tests Passed   = 200
# Tests Failed   =
Result           = passed
KiXGolf Score    = 419

Thank you for participating in KiXtart Golf!
Press any key to continue...




JochenAdministrator
(KiX Supporter)
2011-05-02 11:27 AM
Re: Kixgolf - Four Is Magic - Private Round

slowly but surely..


KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows XP Professional
CPU              = Intel Pentium III
Speed            = 2526 MHz
Memory           = 4096 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/02 11:27:23.406
Processing End   = 2011/05/02 11:27:23.546
Duration         = 0000/00/00 00:00:00.139
# Tests Run      = 200
# Tests Passed   = 200
# Tests Failed   =
Result           = passed
KiXGolf Score    = 416

Thank you for participating in KiXtart Golf!
Press any key to continue...




LonkeroAdministrator
(KiX Master Guru)
2011-05-02 12:08 PM
Re: Kixgolf - Four Is Magic - Private Round

slowly indeed. sneaked out for a "coffee break" :P
 Code:
KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows 7 Professional Edition
CPU              = Intel Pentium III
Speed            = 1396 MHz
Memory           = 4096 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/02 13:07:56.400
Processing End   = 2011/05/02 13:07:56.608
Duration         = 0000/00/00 00:00:00.207
# Tests Run      = 200
# Tests Passed   = 200
# Tests Failed   =
Result           = passed
KiXGolf Score    = 369


JochenAdministrator
(KiX Supporter)
2011-05-02 12:10 PM
Re: Kixgolf - Four Is Magic - Private Round

dude, wtf?

LonkeroAdministrator
(KiX Master Guru)
2011-05-02 12:23 PM
Re: Kixgolf - Four Is Magic - Private Round

hmm...
 Code:
KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows 7 Professional Edition
CPU              = Intel Pentium III
Speed            = 1396 MHz
Memory           = 4096 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/02 13:22:58.891
Processing End   = 2011/05/02 13:22:59.144
Duration         = 0000/00/00 00:00:00.252
# Tests Run      = 200
# Tests Passed   = 200
# Tests Failed   =
Result           = passed
KiXGolf Score    = 362

Thank you for participating in KiXtart Golf!


LonkeroAdministrator
(KiX Master Guru)
2011-05-02 12:29 PM
Re: Kixgolf - Four Is Magic - Private Round

 Code:
KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows 7 Professional Edition
CPU              = Intel Pentium III
Speed            = 1396 MHz
Memory           = 4096 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/02 13:28:42.784
Processing End   = 2011/05/02 13:28:42.976
Duration         = 0000/00/00 00:00:00.192
# Tests Run      = 200
# Tests Passed   = 200
# Tests Failed   =
Result           = passed
KiXGolf Score    = 355

Thank you for participating in KiXtart Golf!


JochenAdministrator
(KiX Supporter)
2011-05-02 12:38 PM
Re: Kixgolf - Four Is Magic - Private Round

Quit doing coffee breaks

LonkeroAdministrator
(KiX Master Guru)
2011-05-02 12:38 PM
Re: Kixgolf - Four Is Magic - Private Round

ok, this is the last one.
 Code:
KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows 7 Professional Edition
CPU              = Intel Pentium III
Speed            = 1396 MHz
Memory           = 4096 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/02 13:38:04.011
Processing End   = 2011/05/02 13:38:04.215
Duration         = 0000/00/00 00:00:00.203
# Tests Run      = 200
# Tests Passed   = 200
# Tests Failed   =
Result           = passed
KiXGolf Score    = 347

Thank you for participating in KiXtart Golf!


JochenAdministrator
(KiX Supporter)
2011-05-02 12:53 PM
Re: Kixgolf - Four Is Magic - Private Round

 Code:

KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows XP Professional
CPU              = Intel Pentium III
Speed            = 2526 MHz
Memory           = 4096 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/02 12:53:34.953
Processing End   = 2011/05/02 12:53:35.125
Duration         = 0000/00/00 00:00:00.171
# Tests Run      = 200
# Tests Passed   = 200
# Tests Failed   =
Result           = passed
KiXGolf Score    = 412

Thank you for participating in KiXtart Golf!
Press any key to continue...




JochenAdministrator
(KiX Supporter)
2011-05-02 01:41 PM
Re: Kixgolf - Four Is Magic - Private Round

 Code:
KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows XP Professional
CPU              = Intel Pentium III
Speed            = 2526 MHz
Memory           = 4096 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/02 13:40:02.968
Processing End   = 2011/05/02 13:40:03.078
Duration         = 0000/00/00 00:00:00.110
# Tests Run      = 200
# Tests Passed   = 200
# Tests Failed   =
Result           = passed
KiXGolf Score    = 404

Thank you for participating in KiXtart Golf!
Press any key to continue...



3 to go for 2nd place.


LonkeroAdministrator
(KiX Master Guru)
2011-05-02 02:04 PM
Re: Kixgolf - Four Is Magic - Private Round

you shall get there before workday is over ;\)

JochenAdministrator
(KiX Supporter)
2011-05-02 02:04 PM
Re: Kixgolf - Four Is Magic - Private Round

yay!

 Code:

KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows XP Professional
CPU              = Intel Pentium III
Speed            = 2526 MHz
Memory           = 4096 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/02 14:03:46.343
Processing End   = 2011/05/02 14:03:46.515
Duration         = 0000/00/00 00:00:00.171
# Tests Run      = 200
# Tests Passed   = 200
# Tests Failed   =
Result           = passed
KiXGolf Score    = 397

Thank you for participating in KiXtart Golf!
Press any key to continue...


JochenAdministrator
(KiX Supporter)
2011-05-02 03:57 PM
Re: Kixgolf - Four Is Magic - Private Round

5 more

 Code:

KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows XP Professional
CPU              = Intel Pentium III
Speed            = 2526 MHz
Memory           = 4096 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/02 15:57:12.984
Processing End   = 2011/05/02 15:57:13.156
Duration         = 0000/00/00 00:00:00.172
# Tests Run      = 200
# Tests Passed   = 200
# Tests Failed   =
Result           = passed
KiXGolf Score    = 392

Thank you for participating in KiXtart Golf!
Press any key to continue...


LonkeroAdministrator
(KiX Master Guru)
2011-05-02 06:25 PM
Re: Kixgolf - Four Is Magic - Private Round

welcome to the under 4-club.
wonder if we are gonna have a later arrival that will score like 190-210 on first post.


ShaneEP
(MM club member)
2011-05-02 06:52 PM
Re: Kixgolf - Four Is Magic - Private Round

I'm going to be a late arrival...but I wouldnt count on anything close to 200 lol

LonkeroAdministrator
(KiX Master Guru)
2011-05-02 06:59 PM
Re: Kixgolf - Four Is Magic - Private Round

oops. I did it again -unknown artist
 Code:
KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows 7 Professional Edition
CPU              = Intel Pentium III
Speed            = 1396 MHz
Memory           = 4096 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/02 19:58:27.481
Processing End   = 2011/05/02 19:58:27.733
Duration         = 0000/00/00 00:00:00.251
# Tests Run      = 200
# Tests Passed   = 200
# Tests Failed   =
Result           = passed
KiXGolf Score    = 344

Thank you for participating in KiXtart Golf!


JochenAdministrator
(KiX Supporter)
2011-05-02 07:12 PM
Re: Kixgolf - Four Is Magic - Private Round

hmm, can't see where my current hold 50+ less strokes.. think I do this from scratch again.

JochenAdministrator
(KiX Supporter)
2011-05-02 07:37 PM
Re: Kixgolf - Four Is Magic - Private Round

..well, some more anyway

 Code:

KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows 7 Professional Edition
CPU              = Intel Pentium III
Speed            = 2669 MHz
Memory           = 4096 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/02 19:36:29.815
Processing End   = 2011/05/02 19:36:29.862
Duration         = 0000/00/00 00:00:00.046
# Tests Run      = 200
# Tests Passed   = 200
# Tests Failed   =
Result           = passed
KiXGolf Score    = 387

Thank you for participating in KiXtart Golf!


JochenAdministrator
(KiX Supporter)
2011-05-02 07:46 PM
Re: Kixgolf - Four Is Magic - Private Round

ok, but thats about it .. ja, I know

 Code:

KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows 7 Professional Edition
CPU              = Intel Pentium III
Speed            = 2669 MHz
Memory           = 4096 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/02 19:45:49.877
Processing End   = 2011/05/02 19:45:49.924
Duration         = 0000/00/00 00:00:00.047
# Tests Run      = 200
# Tests Passed   = 200
# Tests Failed   =
Result           = passed
KiXGolf Score    = 382

Thank you for participating in KiXtart Golf!


LonkeroAdministrator
(KiX Master Guru)
2011-05-02 08:00 PM
Re: Kixgolf - Four Is Magic - Private Round

you just keep on coming strong...

KiXGolf Score = 342


JochenAdministrator
(KiX Supporter)
2011-05-02 08:01 PM
Re: Kixgolf - Four Is Magic - Private Round

Ok, from now on I will whine every second post that there are no more strokes to drop.. seems to work

 Code:

KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows 7 Professional Edition
CPU              = Intel Pentium III
Speed            = 2669 MHz
Memory           = 4096 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/02 20:00:45.765
Processing End   = 2011/05/02 20:00:45.812
Duration         = 0000/00/00 00:00:00.047
# Tests Run      = 200
# Tests Passed   = 200
# Tests Failed   =
Result           = passed
KiXGolf Score    = 380

Thank you for participating in KiXtart Golf!


JochenAdministrator
(KiX Supporter)
2011-05-02 08:15 PM
Re: Kixgolf - Four Is Magic - Private Round



KiXGolf Score = 378


LonkeroAdministrator
(KiX Master Guru)
2011-05-02 08:16 PM
Re: Kixgolf - Four Is Magic - Private Round

 Code:
KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows 7 Professional Edition
CPU              = Intel Pentium III
Speed            = 1396 MHz
Memory           = 4096 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/02 21:15:45.881
Processing End   = 2011/05/02 21:15:46.320
Duration         = 0000/00/00 00:00:00.439
# Tests Run      = 200
# Tests Passed   = 200
# Tests Failed   =
Result           = passed
KiXGolf Score    = 334

Thank you for participating in KiXtart Golf!


JochenAdministrator
(KiX Supporter)
2011-05-02 08:22 PM
Re: Kixgolf - Four Is Magic - Private Round

what happened with your runtime?

JochenAdministrator
(KiX Supporter)
2011-05-02 08:42 PM
Re: Kixgolf - Four Is Magic - Private Round

KiXGolf Score = 371

oh, btw: I can't shave any more strokes *Sob* ;\)


LonkeroAdministrator
(KiX Master Guru)
2011-05-02 08:48 PM
Re: Kixgolf - Four Is Magic - Private Round

runtime? well... it might be that my algorithm is twice as hard now ;\)

maciep
(Korg Regular)
2011-05-03 01:17 AM
Re: Kixgolf - Four Is Magic - Private Round

whoops, I forgot to golf today...maybe tomorrow. Gonna have a lot of catching up to do!

LonkeroAdministrator
(KiX Master Guru)
2011-05-03 05:17 AM
Re: Kixgolf - Four Is Magic - Private Round

welcome \:\)

this doesn't look so cool anymore, but...
 Code:
KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows 7 Professional Edition
CPU              = Intel Pentium III
Speed            = 1396 MHz
Memory           = 4096 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/03 06:16:40.856
Processing End   = 2011/05/03 06:16:41.137
Duration         = 0000/00/00 00:00:00.280
# Tests Run      = 200
# Tests Passed   = 200
# Tests Failed   =
Result           = passed
KiXGolf Score    = 331


LonkeroAdministrator
(KiX Master Guru)
2011-05-03 05:49 AM
Re: Kixgolf - Four Is Magic - Private Round

again, not so neat, but the strokes count... so.
 Code:
KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows 7 Professional Edition
CPU              = Intel Pentium III
Speed            = 1396 MHz
Memory           = 4096 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/03 06:49:05.352
Processing End   = 2011/05/03 06:49:05.689
Duration         = 0000/00/00 00:00:00.336
# Tests Run      = 200
# Tests Passed   = 200
# Tests Failed   =
Result           = passed
KiXGolf Score    = 330

Thank you for participating in KiXtart Golf!


LonkeroAdministrator
(KiX Master Guru)
2011-05-03 06:56 AM
Re: Kixgolf - Four Is Magic - Private Round

this one doesn't make any sense. I just can't get my head around why, but if kix says apples equal bananas, fine with me.

 Code:
KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows 7 Professional Edition
CPU              = Intel Pentium III
Speed            = 1396 MHz
Memory           = 4096 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/03 07:54:28.073
Processing End   = 2011/05/03 07:54:28.470
Duration         = 0000/00/00 00:00:00.397
# Tests Run      = 200
# Tests Passed   = 200
# Tests Failed   =
Result           = passed
KiXGolf Score    = 328

Thank you for participating in KiXtart Golf!


AllenAdministrator
(KiX Supporter)
2011-05-03 07:05 AM
Re: Kixgolf - Four Is Magic - Private Round

hmmm... don't like the sound of that... do you think the scorer is missing something?

JochenAdministrator
(KiX Supporter)
2011-05-03 08:55 AM
Re: Kixgolf - Four Is Magic - Private Round

rewrite ongoing .. may post a much lesser score anytime today \:\/

JochenAdministrator
(KiX Supporter)
2011-05-03 08:59 AM
Re: Kixgolf - Four Is Magic - Private Round

that was a fast rewrite ...

KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows XP Professional
CPU              = Intel Pentium III
Speed            = 2526 MHz
Memory           = 4096 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/03 08:57:23.167
Processing End   = 2011/05/03 08:57:23.323
Duration         = 0000/00/00 00:00:00.155
# Tests Run      = 200
# Tests Passed   = 200
# Tests Failed   =
Result           = passed
KiXGolf Score    = 326

Thank you for participating in KiXtart Golf!



JochenAdministrator
(KiX Supporter)
2011-05-03 10:24 AM
Re: Kixgolf - Four Is Magic - Private Round

moving on..

KiXGolf Score = 325


JochenAdministrator
(KiX Supporter)
2011-05-03 10:37 AM
Re: Kixgolf - Four Is Magic - Private Round

KiXGolf Score = 317

BradV
(Seasoned Scripter)
2011-05-03 11:56 AM
Re: Kixgolf - Four Is Magic - Private Round

I'm going to have to try when I get home today. I think my score will be around 1500 or so? \:\)

JochenAdministrator
(KiX Supporter)
2011-05-03 12:08 PM
Re: Kixgolf - Four Is Magic - Private Round

Hey, go for it Brad, I'm sure you can cobble somethin up less than 500..

JochenAdministrator
(KiX Supporter)
2011-05-03 12:27 PM
Re: Kixgolf - Four Is Magic - Private Round

meanwhile..

KiXGolf Score = 316


AllenAdministrator
(KiX Supporter)
2011-05-03 02:22 PM
Re: Kixgolf - Four Is Magic - Private Round

Jochen	316
Jooel	328
Maciep	402


LonkeroAdministrator
(KiX Master Guru)
2011-05-03 02:42 PM
Re: Kixgolf - Four Is Magic - Private Round

Allen, no issues with the scorer. something funky about kix.

JochenAdministrator
(KiX Supporter)
2011-05-03 03:40 PM
Re: Kixgolf - Four Is Magic - Private Round


KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows XP Professional
CPU              = Intel Pentium III
Speed            = 2527 MHz
Memory           = 4096 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/03 15:39:57.281
Processing End   = 2011/05/03 15:39:57.437
Duration         = 0000/00/00 00:00:00.155
# Tests Run      = 200
# Tests Passed   = 200
# Tests Failed   =
Result           = passed
KiXGolf Score    = 308

Thank you for participating in KiXtart Golf!


let's see if I can get this below 300


LonkeroAdministrator
(KiX Master Guru)
2011-05-03 05:19 PM
Re: Kixgolf - Four Is Magic - Private Round

yhyy...
I changed mine as well... got 380 \:\(
I have long way to go with this one to get close to my old score \:\(


JochenAdministrator
(KiX Supporter)
2011-05-03 05:23 PM
Re: Kixgolf - Four Is Magic - Private Round

Yikes! but hey, you still got time left..

LonkeroAdministrator
(KiX Master Guru)
2011-05-03 07:38 PM
Re: Kixgolf - Four Is Magic - Private Round

lol...
went back to my old one, got 321. still not even close \:\(


LonkeroAdministrator
(KiX Master Guru)
2011-05-03 08:37 PM
Re: Kixgolf - Four Is Magic - Private Round

320 \:\(

LonkeroAdministrator
(KiX Master Guru)
2011-05-03 08:50 PM
Re: Kixgolf - Four Is Magic - Private Round

this is getting almost funny. or me slaphappy...
 Code:
KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows 7 Professional Edition
CPU              = Intel Pentium III
Speed            = 1396 MHz
Memory           = 4096 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/03 21:49:50.421
Processing End   = 2011/05/03 21:49:50.699
Duration         = 0000/00/00 00:00:00.277
# Tests Run      = 200
# Tests Passed   = 200
# Tests Failed   =
Result           = passed
KiXGolf Score    = 319

Thank you for participating in KiXtart Golf!


JochenAdministrator
(KiX Supporter)
2011-05-03 09:36 PM
Re: Kixgolf - Four Is Magic - Private Round

Hmm .. somehow there sneaked an iif() in.
I remember someone said that theres always a better option than iif() \:D

Ok, getting rid of the iif() in a clever way would bring me back to 321 319 314


LonkeroAdministrator
(KiX Master Guru)
2011-05-03 10:17 PM
Re: Kixgolf - Four Is Magic - Private Round

I refuse your reality and substitute it with my own. oh how it went?
 Code:
KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows 7 Professional Edition
CPU              = Intel Pentium III
Speed            = 1396 MHz
Memory           = 4096 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/03 23:15:30.407
Processing End   = 2011/05/03 23:15:30.761
Duration         = 0000/00/00 00:00:00.353
# Tests Run      = 200
# Tests Passed   = 200
# Tests Failed   =
Result           = passed
KiXGolf Score    = 307

Thank you for participating in KiXtart Golf!


damn, that took time.


JochenAdministrator
(KiX Supporter)
2011-05-03 10:22 PM
Re: Kixgolf - Four Is Magic - Private Round

see?

LonkeroAdministrator
(KiX Master Guru)
2011-05-03 10:30 PM
Re: Kixgolf - Four Is Magic - Private Round

Sometimes more is less!!!
 Code:
KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows 7 Professional Edition
CPU              = Intel Pentium III
Speed            = 1396 MHz
Memory           = 4096 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/03 23:29:22.895
Processing End   = 2011/05/03 23:29:23.206
Duration         = 0000/00/00 00:00:00.311
# Tests Run      = 200
# Tests Passed   = 200
# Tests Failed   =
Result           = passed
KiXGolf Score    = 302

Thank you for participating in KiXtart Golf!


JochenAdministrator
(KiX Supporter)
2011-05-03 10:35 PM
Re: Kixgolf - Four Is Magic - Private Round

Yikes!

but hey, I still got time left..



maciep
(Korg Regular)
2011-05-04 01:58 AM
Re: Kixgolf - Four Is Magic - Private Round

Finally getting back to it...hope I can remember what I was thinking a couple days ago

maciep
(Korg Regular)
2011-05-04 02:53 AM
Re: Kixgolf - Four Is Magic - Private Round

slowly but surely...

 Code:

KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows 7 Home Premium Edition
CPU              = AMD Turion(tm) II P540 Dual-Core Processor
Speed            = 2394 MHz
Memory           = 4096 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/03 20:51:27.805
Processing End   = 2011/05/03 20:51:28.414
Duration         = 0000/00/00 00:00:00.609
# Tests Run      = 200
# Tests Passed   = 200
# Tests Failed   = 
Result           = passed
KiXGolf Score    = 378

Thank you for participating in KiXtart Golf!


maciep
(Korg Regular)
2011-05-04 03:05 AM
Re: Kixgolf - Four Is Magic - Private Round

 Code:

KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows 7 Home Premium Edition
CPU              = AMD Turion(tm) II P540 Dual-Core Processor
Speed            = 2394 MHz
Memory           = 4096 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/03 21:04:29.552
Processing End   = 2011/05/03 21:04:30.145
Duration         = 0000/00/00 00:00:00.593
# Tests Run      = 200
# Tests Passed   = 200
# Tests Failed   = 
Result           = passed
KiXGolf Score    = 336

Thank you for participating in KiXtart Golf!


maciep
(Korg Regular)
2011-05-04 03:17 AM
Re: Kixgolf - Four Is Magic - Private Round

Done for the night

 Code:
KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows 7 Home Premium Edition
CPU              = AMD Turion(tm) II P540 Dual-Core Processor
Speed            = 2394 MHz
Memory           = 4096 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/03 21:17:02.013
Processing End   = 2011/05/03 21:17:02.122
Duration         = 0000/00/00 00:00:00.108
# Tests Run      = 200
# Tests Passed   = 200
# Tests Failed   =
Result           = passed
KiXGolf Score    = 329


LonkeroAdministrator
(KiX Master Guru)
2011-05-04 04:17 AM
Re: Kixgolf - Four Is Magic - Private Round

yea, good that you have time left J! \:\)

Erik, nice.


LonkeroAdministrator
(KiX Master Guru)
2011-05-04 05:26 AM
Re: Kixgolf - Four Is Magic - Private Round

Good Morning KiXters \:\)
 Code:
KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows 7 Professional Edition
CPU              = Intel Pentium III
Speed            = 1396 MHz
Memory           = 4096 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/04 06:25:44.925
Processing End   = 2011/05/04 06:25:45.313
Duration         = 0000/00/00 00:00:00.387
# Tests Run      = 200
# Tests Passed   = 200
# Tests Failed   =
Result           = passed
KiXGolf Score    = 287

Thank you for participating in KiXtart Golf!


JochenAdministrator
(KiX Supporter)
2011-05-04 10:00 AM
Re: Kixgolf - Four Is Magic - Private Round

Dude! What did you do there?

LonkeroAdministrator
(KiX Master Guru)
2011-05-04 01:38 PM
Re: Kixgolf - Four Is Magic - Private Round

oops. will I be disqualified?

JochenAdministrator
(KiX Supporter)
2011-05-04 01:47 PM
Re: Kixgolf - Four Is Magic - Private Round

Why should you?

JochenAdministrator
(KiX Supporter)
2011-05-04 02:51 PM
Re: Kixgolf - Four Is Magic - Private Round

Can't shorten this anymore

.. rewrite?


LonkeroAdministrator
(KiX Master Guru)
2011-05-04 03:28 PM
Re: Kixgolf - Four Is Magic - Private Round

I actually ended up using my original code... just replaced lots of useless characters with none ;\)

LonkeroAdministrator
(KiX Master Guru)
2011-05-04 03:29 PM
Re: Kixgolf - Four Is Magic - Private Round

so, which one was your shortest score?

JochenAdministrator
(KiX Supporter)
2011-05-04 03:33 PM
Re: Kixgolf - Four Is Magic - Private Round

 Originally Posted By: Jochen

KiXtart Version = 4.61
KiXGolf Script = kixgolf_fim.kix
Scoring Engine = 3.3
OS = Windows XP Professional
CPU = Intel Pentium III
Speed = 2527 MHz
Memory = 4096 MB

Tournament = Four Is Magic
Processing Start = 2011/05/03 15:39:57.281
Processing End = 2011/05/03 15:39:57.437
Duration = 0000/00/00 00:00:00.155
# Tests Run = 200
# Tests Passed = 200
# Tests Failed =
Result = passed
KiXGolf Score = 308

Thank you for participating in KiXtart Golf!




let's see if I can get this below 300


LonkeroAdministrator
(KiX Master Guru)
2011-05-04 04:28 PM
Re: Kixgolf - Four Is Magic - Private Round

that would be cool \:\)

I just can't come up with anything. running out of crazy ideas as well...
 Code:
KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows 7 Professional Edition
CPU              = Intel Pentium III
Speed            = 1396 MHz
Memory           = 4096 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/04 17:26:55.554
Processing End   = 2011/05/04 17:26:55.919
Duration         = 0000/00/00 00:00:00.365
# Tests Run      = 200
# Tests Passed   = 200
# Tests Failed   =
Result           = passed
KiXGolf Score    = 286

Thank you for participating in KiXtart Golf!


JochenAdministrator
(KiX Supporter)
2011-05-04 04:30 PM
Re: Kixgolf - Four Is Magic - Private Round

pfft .. in the mean time im desperate enough to try select case statements.


LonkeroAdministrator
(KiX Master Guru)
2011-05-04 04:36 PM
Re: Kixgolf - Four Is Magic - Private Round

sorry \:\(

 Code:
KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows 7 Professional Edition
CPU              = Intel Pentium III
Speed            = 1396 MHz
Memory           = 4096 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/04 17:35:59.716
Processing End   = 2011/05/04 17:35:59.988
Duration         = 0000/00/00 00:00:00.271
# Tests Run      = 200
# Tests Passed   = 200
# Tests Failed   =
Result           = passed
KiXGolf Score    = 283

Thank you for participating in KiXtart Golf!

\:\)


ShaneEP
(MM club member)
2011-05-04 05:56 PM
Re: Kixgolf - Four Is Magic - Private Round

Finally on the board at least haha...

 Code:

KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows XP Home Edition
CPU              = Intel(R) Pentium(R) 4 CPU 2.80GHz
Speed            = 2793 MHz
Memory           = 768 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/04 10:55:21.604
Processing End   = 2011/05/04 10:55:21.697
Duration         = 0000/00/00 00:00:00.093
# Tests Run      = 200
# Tests Passed   = 200
# Tests Failed   = 
Result           = passed
KiXGolf Score    = 703

Thank you for participating in KiXtart Golf!


JochenAdministrator
(KiX Supporter)
2011-05-04 06:44 PM
Re: Kixgolf - Four Is Magic - Private Round

congrats Shane,
now get rid of a couple hundred characters..


AllenAdministrator
(KiX Supporter)
2011-05-04 07:32 PM
Re: Kixgolf - Four Is Magic - Private Round

Some big drops in scores and a new player added to the list :)

Jooel	283
Jochen	308
Maciep	329
Citrix	703


LonkeroAdministrator
(KiX Master Guru)
2011-05-04 07:42 PM
Re: Kixgolf - Four Is Magic - Private Round

I've seen some lurkers around this thread... wonder if they gonna drop in or if they decided the game is over by now :P

AllenAdministrator
(KiX Supporter)
2011-05-04 07:47 PM
Re: Kixgolf - Four Is Magic - Private Round

I'm sort of confused about Rogier... he responded on FB the past two times that he was participating... but nada.

I honestly thought we would have a few players who play less often, since this task is pretty easy, comparatively to the last one or others.


ShaneEP
(MM club member)
2011-05-04 07:54 PM
Re: Kixgolf - Four Is Magic - Private Round

Yeah the actual task doesn't seem too hard. It's just trying to get it done with few strokes.

LonkeroAdministrator
(KiX Master Guru)
2011-05-04 09:44 PM
Re: Kixgolf - Four Is Magic - Private Round

yea. that's what is so weird. task semi-easy and participant count still low.
for example Erik came, saw and used estimated 30 mins of his time to come up with a working code and added some 10 mins to end up with a pretty good score.
maybe we should expand the task a bit. lets allow from now on all languages :P
even powershell users could join with their 10.000 stroke codes \:D


maciep
(Korg Regular)
2011-05-04 11:49 PM
Re: Kixgolf - Four Is Magic - Private Round

Yeah the task is easy, but golfing is always tough. I wonder how many people try to play but never post?

Anyway....

KiXGolf Score = 321

"only" 39 more strokes to go...for now \:\)


AllenAdministrator
(KiX Supporter)
2011-05-04 11:54 PM
Re: Kixgolf - Four Is Magic - Private Round

The zip has been downloaded 13 times so far...

BradV
(Seasoned Scripter)
2011-05-05 12:06 AM
Re: Kixgolf - Four Is Magic - Private Round

Well, I've made some progress. I almost have all the numeric inputs working.

 Code:

KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows XP Media Center Edition
CPU              = Intel(R) Pentium(R) 4 CPU 3.00GHz
Speed            = 3000 MHz
Memory           = 1024 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/04 18:04:20.663
Processing End   = 2011/05/04 18:04:20.804
Duration         = 0000/00/00 00:00:00.140
# Tests Run      = 100
# Tests Passed   = 76
# Tests Failed   = 24
Result           = failed
KiXGolf Score    = 732

Thank you for participating in KiXtart Golf!


AllenAdministrator
(KiX Supporter)
2011-05-05 12:11 AM
Re: Kixgolf - Four Is Magic - Private Round

Glad to see you playing! Once you have the numerics working, the words should come easy.

maciep
(Korg Regular)
2011-05-05 12:30 AM
Re: Kixgolf - Four Is Magic - Private Round

KiXGolf Score = 317

Keep at it Brad!


maciep
(Korg Regular)
2011-05-05 01:03 AM
Re: Kixgolf - Four Is Magic - Private Round

KiXGolf Score = 316

Done for the day. I've got some "golf ugly" code that I just can't figure out how to get rid of...yet


BradV
(Seasoned Scripter)
2011-05-05 02:15 AM
Re: Kixgolf - Four Is Magic - Private Round

Well, I got all the numeric inputs to work. I'll have to work on text tomorrow. Part of my problem was that I was spelling 40 as fourty. \:\)

Time to watch some hockey!


ShaneEP
(MM club member)
2011-05-05 04:01 AM
Re: Kixgolf - Four Is Magic - Private Round

haha i made that same mistake brad!

LonkeroAdministrator
(KiX Master Guru)
2011-05-05 07:49 AM
Re: Kixgolf - Four Is Magic - Private Round

lol, me too.
at the end before working code, had 2 failers, forty and something else \:\)


DrillSergeant
(MM club member)
2011-05-05 09:52 AM
Re: Kixgolf - Four Is Magic - Private Round

Hey guys,

Sorry that I can't fully participate in this round. I really looked forward to it, but work & private life take too much time at the moment...

I've downloaded the zip file and I'll try to get a score on the board, but to be honest, I don't think I'll be able to.

By the way: semi-easy??? pffft, not for me!


LonkeroAdministrator
(KiX Master Guru)
2011-05-05 10:08 AM
Re: Kixgolf - Four Is Magic - Private Round

:P

thanks for dropping by though. and once you post the winning score, then you can complain that it wasn't easy ;\)


JochenAdministrator
(KiX Supporter)
2011-05-05 12:17 PM
Re: Kixgolf - Four Is Magic - Private Round

Ok, let's try whining again..

I can't squeeze out any more strokes from my code
Need a fresh idea..


LonkeroAdministrator
(KiX Master Guru)
2011-05-05 04:25 PM
Re: Kixgolf - Four Is Magic - Private Round

hehee... that should work \:\)

ShaneEP
(MM club member)
2011-05-05 06:19 PM
Re: Kixgolf - Four Is Magic - Private Round

slowly...
 Code:

KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows 7 Home Premium Edition
CPU              = AMD Athlon(tm) II P340 Dual-Core Processor
Speed            = 2194 MHz
Memory           = 3072 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/05 11:17:55.176
Processing End   = 2011/05/05 11:17:55.242
Duration         = 0000/00/00 00:00:00.065
# Tests Run      = 200
# Tests Passed   = 200
# Tests Failed   = 
Result           = passed
KiXGolf Score    = 660

Thank you for participating in KiXtart Golf!


LonkeroAdministrator
(KiX Master Guru)
2011-05-05 06:54 PM
Re: Kixgolf - Four Is Magic - Private Round

cool \:\)

ShaneEP
(MM club member)
2011-05-05 06:59 PM
Re: Kixgolf - Four Is Magic - Private Round

way too many IF's! Gotta be a better flow somehow.

Glenn BarnasAdministrator
(KiX Supporter)
2011-05-05 08:31 PM
Re: Kixgolf - Four Is Magic - Private Round

OK - I'm in..
 Code:
KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows 7 Enterprise Edition
CPU              = Intel Pentium Model 14
Speed            = 1662 MHz
Memory           = 2048 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/05 14:28:53.754
Processing End   = 2011/05/05 14:28:53.910
Duration         = 0000/00/00 00:00:00.156
# Tests Run      = 200
# Tests Passed   = 200
# Tests Failed   =
Result           = passed
KiXGolf Score    = 637

Thank you for participating in KiXtart Golf!
I'll see if I can trim the logic a bit in the next days.. too much craziness going on. Two new projects, a migration, and gearing up for our first trade show next week.

Glenn


AllenAdministrator
(KiX Supporter)
2011-05-05 08:46 PM
Re: Kixgolf - Four Is Magic - Private Round

Glad to see you play Glenn... now let us get Brad on board.

Jooel	283
Jochen	308
Maciep	316
Glenn	637
Citrix	660
Brad	1/2 way


BradV
(Seasoned Scripter)
2011-05-05 09:33 PM
Re: Kixgolf - Four Is Magic - Private Round

Hey, I'm in the lead!

 Code:

KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_fim.kix
Scoring Engine   = 3.3
OS               = Windows XP Media Center Edition
CPU              = Intel(R) Pentium(R) 4 CPU 3.00GHz
Speed            = 3000 MHz
Memory           = 1024 MB

Tournament       = Four Is Magic
Processing Start = 2011/05/05 15:31:13.305
Processing End   = 2011/05/05 15:31:13.430
Duration         = 0000/00/00 00:00:00.125
# Tests Run      = 200
# Tests Passed   = 200
# Tests Failed   = 
Result           = passed
KiXGolf Score    = 1085

Thank you for participating in KiXtart Golf!


LonkeroAdministrator
(KiX Master Guru)
2011-05-05 10:04 PM
Re: Kixgolf - Four Is Magic - Private Round

lol. damn, I saw your line on the active topics view and was WTF!!!!!!!!!!

2 new entrees... awesome. thanks for taking the bite Glenn.


LonkeroAdministrator
(KiX Master Guru)
2011-05-05 10:23 PM
Re: Kixgolf - Four Is Magic - Private Round

yhyy... 3 different designs and all come down to the same score \:\(

LonkeroAdministrator
(KiX Master Guru)
2011-05-05 10:42 PM
Re: Kixgolf - Four Is Magic - Private Round

wow. new error message, "fatal exception occured" haven't seen that in a while \:\)

Glenn BarnasAdministrator
(KiX Supporter)
2011-05-05 11:44 PM
Re: Kixgolf - Four Is Magic - Private Round

Um, Brad? You do know the object is to get the lowest score, right? ;\)

Welcome to the links - the weather's great today!

Glenn


JochenAdministrator
(KiX Supporter)
2011-05-06 11:06 AM
Re: Kixgolf - Four Is Magic - Private Round

 Originally Posted By: Lonkero
wow. new error message, "fatal exception occured" haven't seen that in a while \:\)


I have an array ref out of bounds as soon the input reaches 38 .. all string input and numbers <38 are ok and passing the tests, but as soon my code is feed with 38 it crashes.

Would have give me a 307 if it worked.. I can't explain the logic behind that error


LonkeroAdministrator
(KiX Master Guru)
2011-05-06 01:46 PM
Re: Kixgolf - Four Is Magic - Private Round

faced that for a while, upped my score to make it work and trashed that design I had

LonkeroAdministrator
(KiX Master Guru)
2011-05-06 01:47 PM
Re: Kixgolf - Four Is Magic - Private Round

I actually found a new trick... at least something I didn't know before.
kinda cool :P


AllenAdministrator
(KiX Supporter)
2011-05-07 11:21 AM
Re: Kixgolf - Four Is Magic - Private Round

Anyone still playing?

JochenAdministrator
(KiX Supporter)
2011-05-07 12:15 PM
Re: Kixgolf - Four Is Magic - Private Round

yes, but no progress..
Just from staring at the code it doesn't get any smaller


LonkeroAdministrator
(KiX Master Guru)
2011-05-07 01:02 PM
Re: Kixgolf - Four Is Magic - Private Round

you should try to switch to smaller font. helps me \:\)

ShaneEP
(MM club member)
2011-05-07 04:55 PM
Re: Kixgolf - Four Is Magic - Private Round

Sorry Allen...They've been pushing me to get this project done at work. Hopefully tonight I can give it another go.

AllenAdministrator
(KiX Supporter)
2011-05-07 07:09 PM
Re: Kixgolf - Four Is Magic - Private Round

No apologies necessary. I was just kind of wondering if everyone was stuck, and it appears that is the case.

Glenn BarnasAdministrator
(KiX Supporter)
2011-05-07 07:16 PM
Re: Kixgolf - Four Is Magic - Private Round

I woke up in the middle of the night, had a brilliant revelation about the code, and promptly fell back to sleep. No idea what that thought was now... \:\(

Too many irons in the fire to sit and stare at the code, although the "smaller font" suggestion did work for a while. Gave up after the eyestrain headache set in.

Glenn


maciep
(Korg Regular)
2011-05-08 02:01 PM
Re: Kixgolf - Four Is Magic - Private Round

I haven't been able to get back to golfing since my last post and won't today either.

I'm gonna be gone this afternoon, so I'll send Allen my code to post.


LonkeroAdministrator
(KiX Master Guru)
2011-05-08 04:24 PM
Re: Kixgolf - Four Is Magic - Private Round

oh... I might do that too.
at my parents now and for the moment have the web-access, but not sure for how long.


AllenAdministrator
(KiX Supporter)
2011-05-08 06:00 PM
Re: Kixgolf - Four Is Magic - Private Round

The private round has completed. The public round will continue in the following thread: http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=202149#Post202149