Page 1 of 2 12>
Topic Options
#146069 - 2005-08-21 10:11 PM KiXgolf is back - with a vengeance :-)
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Announcing the schedule for two new KiXgolf tournaments, dealing with happiness and clumsiness, respectively:

Happiness starts on Friday, August 26, 2005, 6pm EST.

Clumsiness follows on Friday, September 30, 2005, 6:00pm EST

However, after finishing either coding challenge, I will not garantee for either happiness or clumsiness

================================================================
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
================================================================


  • The goal of KiXtart Golf is to score the lowest strokes.
  • 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.
  • Code can be constructed any way you like, as long as it is syntactically correct with KiXtart.
  • The final solution MUST pass all test scripts that accompagny the KiXtart golf challenge.
  • The use of '$' as a variable is allowed.
  • In case of questions about a particular way to count the KiXtart Golf Challenge organizer has the last call.
  • During the private coding phase, no code is allowed to be posted. Violations result in disqualification of said player.
  • During the public coding phase, code should be posted, reused, and borrowed from other players.
  • The test script contains the official KiXgolf scoring engine
_________________________
There are two types of vessels, submarines and targets.

Top
#146070 - 2005-08-21 10:22 PM Re: KiXgolf is back - with a vengeance :-)
Lonkero Administrator Offline
KiX Master Guru
*****

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

download KiXnet

Top
#146071 - 2005-08-22 04:13 AM Re: KiXgolf is back - with a vengeance :-)
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11628
Loc: CA
What you mean no handicap. Think Lonk should give us some handicap
Top
#146072 - 2005-08-22 10:17 AM Re: KiXgolf is back - with a vengeance :-)
MightyR1 Offline
MM club member
*****

Registered: 1999-09-09
Posts: 1264
Loc: The Netherlands
Yahoooo,

Let's play Golf!!!
_________________________
Greetz,
Patrick Rutten

- We'll either find a way or make one...
- Knowledge is power; knowing how to find it is more powerful...
- Problems don't exist; they are challenges...

Top
#146073 - 2005-08-22 10:36 AM Re: KiXgolf is back - with a vengeance :-)
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
sure Patrick is here... he smelled the competition!
_________________________
!

download KiXnet

Top
#146074 - 2005-08-23 03:35 PM Re: KiXgolf is back - with a vengeance :-)
MightyR1 Offline
MM club member
*****

Registered: 1999-09-09
Posts: 1264
Loc: The Netherlands
hehehe
_________________________
Greetz,
Patrick Rutten

- We'll either find a way or make one...
- Knowledge is power; knowing how to find it is more powerful...
- Problems don't exist; they are challenges...

Top
#146075 - 2005-08-23 05:14 PM Re: KiXgolf is back - with a vengeance :-)
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Were's Erik - not the same without him either.
Top
#146076 - 2005-08-24 02:45 PM Re: KiXgolf is back - with a vengeance :-)
maciep Offline
Korg Regular
*****

Registered: 2002-06-14
Posts: 947
Loc: Pittsburgh
Cleaning my clubs...
Top
#146077 - 2005-08-24 03:09 PM Re: KiXgolf is back - with a vengeance :-)
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
recalibrating my erasers
_________________________
!

download KiXnet

Top
#146078 - 2005-08-24 04:15 PM Re: KiXgolf is back - with a vengeance :-)
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
We're going to whoop your a$$ this time Lonk.
Top
#146079 - 2005-08-24 08:42 PM Re: KiXgolf is back - with a vengeance :-)
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
sure you are...
just as every time this far, ay?
_________________________
!

download KiXnet

Top
#146080 - 2005-08-25 03:54 AM Re: KiXgolf is back - with a vengeance :-)
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Just to get you guys back onto the ground, the first round is like a driving range, the real fun will be the second one :-)
_________________________
There are two types of vessels, submarines and targets.

Top
#146081 - 2005-08-25 02:19 PM Re: KiXgolf is back - with a vengeance :-)
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
dunno.
the second round is normally the one with all the fighting but I don't like the nose bleeds.
_________________________
!

download KiXnet

Top
#146082 - 2005-08-26 04:26 PM Re: KiXgolf is back - with a vengeance :-)
Lonkero Administrator Offline
KiX Master Guru
*****

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

Happiness starts on Friday, August 26, 2005, 6pm EST.




that is:
Happiness starts on Friday, August 26, 2005, 12pm CET.
Happiness starts on Saturday, August 27, 2005, 1am EEST (finlands timezone).
Happiness starts on Saturday, August 27, 2005, 9am Sydney time.
_________________________
!

download KiXnet

Top
#146083 - 2005-08-26 11:50 PM Re: KiXgolf is back - with a vengeance :-)
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
still about 30 mins to go...
_________________________
!

download KiXnet

Top
#146084 - 2005-08-27 12:18 AM WTF!
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
COME ON, Where's that bloody challenge?
_________________________
!

download KiXnet

Top
#146085 - 2005-08-27 12:37 AM Re: WTF!
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
my clock says:
27th of august, 2005, 1:20AM
_________________________
!

download KiXnet

Top
#146086 - 2005-08-27 12:44 AM Re: WTF!
Witto Offline
MM club member
*****

Registered: 2004-09-29
Posts: 1828
Loc: Belgium
You confirm what I thought.
The clock on the server should be adjusted.

Top
#146087 - 2005-08-27 01:20 AM Re: WTF!
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
damn, over an hour already.
I'm soon gonna run out of vodka... how I'm gonna play then?
_________________________
!

download KiXnet

Top
#146088 - 2005-08-27 02:19 AM Re: WTF!
StarwarsKid Offline
Seasoned Scripter
*****

Registered: 2005-06-15
Posts: 506
Loc: Oregon, USA
Any of you guys play online games like Halo, Unreal, "Tom Clancy" games??? I wonder how you would all fair on the same team of Capture The Flag..! That would be fun to watch!!

By the way Lonk, Nice "subject"
_________________________
let the wise listen and add to their learning,
and let the discerning get guidance- Proverbs 1:5

Top
Page 1 of 2 12>


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

Who's Online
0 registered and 657 anonymous users online.
Newest Members
M_Moore, BeeEm, min_seow, Audio, Hoschi
17883 Registered Users

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

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