Page 1 of 1 1
Topic Options
#166548 - 2006-08-30 05:16 AM Announcement: KiXgolf Tournament September 9-23
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Announcement: KiXgolf Tournament September 9-23

The next KiXgolf tournament will be held September 9-23. The challenge can be descibed as 'jump'n'slide' but it ain't your Grandma's ballroom dancing

The last tournament can be found at KiXgolf: Mayan Number Converter

For those of you who never heard of KiXgolf, here's the rundown:

================================================================
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
[/CODE]
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)
[/CODE]
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 is syntactically correct with KiXtart, i.e. the KiXgolf engine does not throw a syntax or other error.
4) The final solution MUST pass all test scripts that accompagny the KiXtart golf challenge.
5) The use of '$' as a variable is allowed.
6) In case of questions about a particular way to count the KiXtart Golf Challenge organizer has the last call.
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
_________________________
There are two types of vessels, submarines and targets.

Top
#166549 - 2006-08-30 06:52 AM Re: Announcement: KiXgolf Tournament September 9-23
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
just HAVE to test this html stuff (your post looks flat now)...

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 is syntactically correct with KiXtart, i.e. the KiXgolf engine does not throw a syntax or other error.
  4. The final solution MUST pass all test scripts that accompagny the KiXtart golf challenge.
  5. The use of '$' as a variable is allowed.
  6. In case of questions about a particular way to count the KiXtart Golf Challenge organizer has the last call.
  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
_________________________
!

download KiXnet

Top
#166550 - 2006-08-30 02:01 PM Re: Announcement: KiXgolf Tournament September 9-23
Benny69 Offline
Moderator
*****

Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
I will be out of town the 11-13 but count me in.
_________________________
Wait don't order yet,... get KiXforms Designer .NET 2.0 (Beta)
KiXforms Designer .NET 2.0 (Beta)

Top
#166551 - 2006-09-01 06:09 AM Re: Announcement: KiXgolf Tournament September 9-23
Allen Administrator Offline
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4562
Loc: USA
So after all the grumbling in the last round... are there going to be any new rules added for duration, etc?
Top
#166552 - 2006-09-01 08:14 AM Re: Announcement: KiXgolf Tournament September 9-23
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
or changes to the reasonable clause?
Top
#166553 - 2006-09-02 03:26 AM Re: Announcement: KiXgolf Tournament September 9-23
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Here are the current rules for your perusal.
Changes include allowing the modification of the UDFs, max. runtime of 1 hour
for the code, and single-author code submissions.

Also, there is a way to earn one bonus point for the final score by delivering a very
specific solution to the problem that needs to be solved.

=============
General rules
=============

  • The UDF must be written as one or more lines.
  • The UDF is expected to finish in a reasonable time, e.g. if it gets started when the challenge opens, it's expected to be finished by the
    time the challenge closes even on a somewhat slow computer. The UDF has to be valid during the period that the challenge runs.
  • You can submit scores as often as you want until the deadline, there's no reason to wait until the last minute for a score submission. In
    fact, other people want to see the score to beat. So don't be a spoilsport by hoarding your score. Submit early and often.
  • The UDF may only use the KiXtart/KiXforms commands/functions/macros, no other code fragments are allowed. Calls to COM components that
    are part of a standard default Windows installation are allowed.
  • Calls to other executables, as long as they are part of a standard default Windows installation are allowed.
  • The use of the KiXforms DLL is also permitted as the KiXforms DLL can now be considered an integral part of KiXtart scripting.
  • 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.
  • You may assume ASCII as character set.
  • You may not use block comments as the KiXgolf Scoring Engine does not support block comments
  • You are not allowed to use additional code that is external to the KiXgolf UDF Collection. All code must be contained within the KiXgolf UDF Collection.
  • You are allowed to only use publicly available versions of KiXtart and KiXforms, private builds or alpha builds are NOT allowed
  • Your submitted score must include the KiXart/KiXforms version used.
  • All variables must be properly declared as SETOPTION('Explicit','ON') has been coded into the main script
  • Other script-wide restrictions, e.g. NoVarsInStrings=ON, are not in effect
  • The KiXgolf UDF Collection as enclosed by the ';!' and ';!;!' tags can be modified to e.g. rename the parameter variables, add additional
    optional parameters or add additional sub-UDFs.
  • Maximum runtime for the code solution is one hour
  • Tokenizing the UDF, script, or portions thereof is not allowed

    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.
 

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


  • 01) The goal of KiXtart Golf is to score the lowest strokes.
  • 02) 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.
  • 03) Code can be constructed any way you like, as long as it is syntactically correct with KiXtart, i.e. the KiXgolf engine
    does not throw a syntax or other error.
  • 04) The final solution MUST pass all test scripts that accompagny the KiXtart golf challenge.
  • 05) The use of '$' as a variable is allowed.
  • 06) In case of questions about a particular way to count the KiXtart Golf Challenge organizer
    has the last call.
  • 07) During the private coding phase, no code is allowed to be posted. Violations result in disqualification of said player.
  • 08) During the public coding phase, code should be posted, reused, and borrowed from other players.
  • 09) 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




Jens, I took the liberty of reformatting your post some so that it could be
more easily read - NTDOC



Edited by NTDOC (2006-09-02 07:44 AM)

Top
#166554 - 2006-09-02 04:54 AM Re: Announcement: KiXgolf Tournament September 9-23
Benny69 Offline
Moderator
*****

Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
Jens, You are da' man!
Let the Fun Begin!
_________________________
Wait don't order yet,... get KiXforms Designer .NET 2.0 (Beta)
KiXforms Designer .NET 2.0 (Beta)

Top
#166555 - 2006-09-02 08:35 PM Re: Announcement: KiXgolf Tournament September 9-23
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
Quote:


The UDF is expected to finish in a reasonable time, e.g. if it gets started when the challenge opens, it's expected to be finished by the
time the challenge closes even on a somewhat slow computer. The UDF has to be valid during the period that the challenge runs.
...
Maximum runtime for the code solution is one hour





the rules should be combined into one.

Top
#166556 - 2006-09-03 09:49 AM Re: Announcement: KiXgolf Tournament September 9-23
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11628
Loc: CA
I agree (I think) the rules posted seem to contradict each other.
Top
#166557 - 2006-09-03 12:10 PM Re: Announcement: KiXgolf Tournament September 9-23
Witto Offline
MM club member
*****

Registered: 2004-09-29
Posts: 1828
Loc: Belgium
As UDF's are always code, I presume Jooel has got a point.
Has it been posted like this all the past tournaments?
If I add both rules together, the UDF, which is code, should not run longer then one hour.


Edited by Witto (2006-09-03 03:39 PM)

Top
#166558 - 2006-09-03 03:37 PM Re: Announcement: KiXgolf Tournament September 9-23
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
So, since this is a community process, here's my condensed version, maybesomebody can golf this rule down further
Quote:


The KiXgolf solution is expected to run for no more than one hour in order to run through all public test cases that are part of the KiXgolf package



_________________________
There are two types of vessels, submarines and targets.

Top
#166559 - 2006-09-04 12:08 AM Re: Announcement: KiXgolf Tournament September 9-23
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
Quote:

So, since this is a community process, here's my condensed version, maybesomebody can golf this rule down further
Quote:


The KiXgolf solution is expected to run for no more than one hour in order to run through all public test cases that are part of the KiXgolf package








imho, it should be just fine to have:
Quote:


The solution is expected to run in the time of one hour in order to be qualified.



_________________________
!

download KiXnet

Top
#166560 - 2006-09-08 06:09 PM Re: Announcement: KiXgolf Tournament September 9-23
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
so, where the rule stands?
I would think the sections could be lost too.

those all are kixgolf rules, even the general ones.

Top
#166561 - 2006-09-08 06:36 PM Re: Announcement: KiXgolf Tournament September 9-23
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
hmm...
ok, the rules are different... not sure about the section names still.
anyways, came up with something like this.
if someone can spot it, I removed at least one rule that actually hasn't been true for quite some time.

  1. KiXtart Golf (a.k.a KiXgolf) codes must be written inside the KiXgolf UDF collection tags, ';!' and ';!;!'
  2. Parameter names of the UDF's can be changed and additional optional parameters can be added.
  3. Additional helper UDF's can be written as long as they reside inside the ';!' and ';!;!' tags.
  4. The UDF layout is up to coder.
  5. The UDF is expected to finish in a reasonable time, that is, on modern computers inside 1 hour timeframe.
  6. You can submit scores as often as you want.
  7. If you reach leading score, you are oblicated to post your score immediately so others can try to compete with you.
  8. The UDF may only use the KiXtart commands/functions/macros, no other code fragments are allowed.
  9. Calls to COM components that are part of a standard default Windows installation are allowed.
  10. The use of the KiXforms DLL is also permitted as the KiXforms DLL can now be considered an integral part of KiXtart scripting.
  11. Calls to other executables, as long as they are part of a standard default Windows installation are allowed.
  12. 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.
  13. You may assume ASCII as character set.
  14. You may not use block comments as the KiXgolf Scoring Engine does not support block comments.
  15. You are allowed to only use publicly available versions of KiXtart and KiXforms, private builds or alpha builds are NOT allowed.
  16. Your submitted score must include the result print of the KiXgolf test-engine.
  17. All variables must be properly declared.
  18. You may not use variables or macros inside strings.
  19. Case-Sensitivity is forced.
  20. Tokenizing the UDF, script, or portions thereof is not allowed.
_________________________
!

download KiXnet

Top
#166562 - 2006-09-08 07:13 PM Re: Announcement: KiXgolf Tournament September 9-23
Gargoyle Offline
MM club member
*****

Registered: 2004-03-09
Posts: 1597
Loc: Valley of the Sun (Arizona, US...
Aren't these two conflicting..
Quote:


8. The UDF may only use the KiXtart commands/functions/macros, no other code fragments are allowed.

11. Calls to other executables, as long as they are part of a standard default Windows installation are allowed.





8 would preclude you from using VBS to do something more effeciently (I know fat chance but it could happen).

11 says since it is part of standard windows installation it can be used

Top
#166563 - 2006-09-08 07:59 PM Re: Announcement: KiXgolf Tournament September 9-23
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
gargoyle, you can call csript or whatever, but how would you score the hits inside the vbs scriptlet???
it's just impossible (well, way too hard to control with a simple scoring script)

Top
#166564 - 2006-09-08 08:49 PM Re: Announcement: KiXgolf Tournament September 9-23
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
05) The use of '$' as a variable is allowed.

think this rule can be dropped out.
2 new ones could be added:
If something is not explicitly denied by the rules, it's allowed.
If Confusion arises, arranger of the golf round has the final say.

Top
#166565 - 2006-09-09 02:47 AM Re: Announcement: KiXgolf Tournament September 9-23
Allen Administrator Offline
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4562
Loc: USA
Come on Jens... lets get this party started. What's starting a few hours early going to effect? I got football to watch tomorrow
Top
#166566 - 2006-09-09 05:39 AM Re: Announcement: KiXgolf Tournament September 9-23
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Been working too much, catching up right now. Will incorporate rewritten and simplfied rules for the next round.
_________________________
There are two types of vessels, submarines and targets.

Top
Page 1 of 1 1


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

Who's Online
0 registered and 962 anonymous users online.
Newest Members
StuTheCoder, M_Moore, BeeEm, min_seow, Audio
17884 Registered Users

Generated in 0.183 seconds in which 0.109 seconds were spent on a total of 12 queries. Zlib compression enabled.

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