Page 6 of 10 « First<45678>Last »
Topic Options
#167280 - 2006-09-13 11:02 AM Re: KiXgolf: Shuttle Puzzle - Private Round
Jochen Administrator Offline
KiX Supporter
*****

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

Question: Am I allowed to reuse the parameter var ($) otherwise in my udf ?
_________________________



Top
#167281 - 2006-09-13 11:22 AM Re: KiXgolf: Shuttle Puzzle - Private Round
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
why wouldn't you be?
Top
#167282 - 2006-09-13 01:17 PM Re: KiXgolf: Shuttle Puzzle - Private Round
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
just ain't sure as it is not stated explicitly
_________________________



Top
#167283 - 2006-09-13 01:38 PM Re: KiXgolf: Shuttle Puzzle - Private Round
DrillSergeant Offline
MM club member
*****

Registered: 2004-07-09
Posts: 1164
Loc: Eijsden, the Netherlands
you can reuse it, even rename it in the parameter line and use it for something else.
Code:
Function S($Anothername)

$ = substr($anothername,1,1)

$s = $ + $ + $

End Function


Top
#167284 - 2006-09-13 01:42 PM Re: KiXgolf: Shuttle Puzzle - Private Round
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
anything that is not denied explicitly is considered accepted.
looking at the rules, you can do what ever with the UDF, even add sub udf's as long as the communication with the calling script works and it doesn't crash and the results are correct.

Top
#167285 - 2006-09-13 02:04 PM Re: KiXgolf: Shuttle Puzzle - Private Round
Jochen Administrator Offline
KiX Supporter
*****

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

anything that is not denied explicitly is considered accepted.




Allright, I shall live happily with this statement
_________________________



Top
#167286 - 2006-09-13 03:31 PM Re: KiXgolf: Shuttle Puzzle - Private Round
RemcovC Offline
Starting to like KiXtart
*****

Registered: 2006-09-13
Posts: 174
Loc: Holland
Hello All,

A collegue of mine (drillsergeant) introduced me to this nice contest,
I'd like to post my first result:

Code:

Shuttle Puzzle passed all 10 tests (100% correct)

KiXtart
KiXtart Version = 4.51
KiXforms Version =
KiXGolf Script = kixgolf_shuttle.kix

Computer
OS = Windows XP Professional
CPU = Intel(R) Pentium(R) 4 CPU 2.66GHz
Speed = 2660 MHz
Memory = 256 MB

KiXGolf Scoring Engine
Scoring Engine = 3.2

KiXtart Golf Score
Tournament = KiXtart Golf: Shuttle Puzzle
Processing Start = 2006/09/13 15:24:42.075
Processing End = 2006/09/13 15:24:43.810
Duration = 0000/00/00 00:00:01.735
KiXGolf Score = 518

Thank you for participating in KiXtart Golf!

_________________________
It's better to have scripted and died, then to never have scripted at all

Top
#167287 - 2006-09-13 04:01 PM Re: KiXgolf: Shuttle Puzzle - Private Round
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Hey, Welcome

What an unusual first post !
_________________________



Top
#167288 - 2006-09-13 04:16 PM Re: KiXgolf: Shuttle Puzzle - Private Round
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
indeed.
I remember drill talking he could talk to a work buddy about the logics, but never thought it would spawn a new competitor.

Top
#167289 - 2006-09-13 04:31 PM Re: KiXgolf: Shuttle Puzzle - Private Round
Björn Offline
Korg Regular
*****

Registered: 2005-12-07
Posts: 953
Loc: Stockholm, Sweden.
Wow, first post with and a nice score obtained. Welcome and good luck
Top
#167290 - 2006-09-14 12:44 AM Re: KiXgolf: Shuttle Puzzle - Private Round
maciep Offline
Korg Regular
*****

Registered: 2002-06-14
Posts: 947
Loc: Pittsburgh
Code:

Shuttle Puzzle passed all 10 tests (100% correct)

KiXtart
KiXtart Version = 4.51
KiXforms Version =
KiXGolf Script = kixgolf_shuttle.kix

Computer
OS = Windows 2000 Professional
CPU = Intel Pentium Model 13
Speed = 1698 MHz
Memory = 502 MB

KiXGolf Scoring Engine
Scoring Engine = 3.2

KiXtart Golf Score
Tournament = KiXtart Golf: Shuttle Puzzle
Processing Start = 2006/09/13 18:43:41.061
Processing End = 2006/09/13 18:43:41.482
Duration = 0000/00/00 00:00:00.421
KiXGolf Score = 306


299

Top
#167291 - 2006-09-14 02:15 AM Re: KiXgolf: Shuttle Puzzle - Private Round
maciep Offline
Korg Regular
*****

Registered: 2002-06-14
Posts: 947
Loc: Pittsburgh
Code:

Shuttle Puzzle passed all 10 tests (100% correct)

KiXtart
KiXtart Version = 4.51
KiXforms Version =
KiXGolf Script = kixgolf_shuttle.kix

Computer
OS = Windows 2000 Professional
CPU = Intel Pentium Model 13
Speed = 1698 MHz
Memory = 502 MB

KiXGolf Scoring Engine
Scoring Engine = 3.2

KiXtart Golf Score
Tournament = KiXtart Golf: Shuttle Puzzle
Processing Start = 2006/09/13 20:13:49.807
Processing End = 2006/09/13 20:13:50.218
Duration = 0000/00/00 00:00:00.410
KiXGolf Score = 293


Top
#167292 - 2006-09-14 06:17 AM Re: KiXgolf: Shuttle Puzzle - Private Round
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
Must be a bug then, there was supposed to be a piece of code to lower the KiXgolf score for anybody who's name's not Jooel
_________________________
There are two types of vessels, submarines and targets.

Top
#167293 - 2006-09-14 06:25 AM Re: KiXgolf: Shuttle Puzzle - Private Round
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
Welcome to our newest entrant RemcovC. Here are the current standings:
Code:

1 Maciep ......... 293
2 DrillSergeant .. 360
3 Jooel .......... 360
4 RemcovC ........ 518
5 benny69 ........ 583


Jooel has earned the bonus point as he was the first one to post the solution for n=10.
_________________________
There are two types of vessels, submarines and targets.

Top
#167294 - 2006-09-14 07:13 AM Re: KiXgolf: Shuttle Puzzle - Private Round
DrillSergeant Offline
MM club member
*****

Registered: 2004-07-09
Posts: 1164
Loc: Eijsden, the Netherlands
So Jooel shouild have 359 (360-bonus point) and should be at 2nd place and I on third.
Top
#167295 - 2006-09-14 08:03 AM Re: KiXgolf: Shuttle Puzzle - Private Round
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
jens, I had 360 first, so correct the standings!
Top
#167296 - 2006-09-14 09:06 AM Re: KiXgolf: Shuttle Puzzle - Private Round
RemcovC Offline
Starting to like KiXtart
*****

Registered: 2006-09-13
Posts: 174
Loc: Holland
Ok ok i lost a few chars now... but I think I need a new approach to get down to 293
Code:
Shuttle Puzzle passed all 10 tests (100% correct)

KiXtart
KiXtart Version = 4.51
KiXforms Version =
KiXGolf Script = kixgolf_shuttle.kix

Computer
OS = Windows Server 2003
CPU = AMD Athlon(tm) XP 2000+
Speed = 1670 MHz
Memory = 1024 MB

KiXGolf Scoring Engine
Scoring Engine = 3.2

KiXtart Golf Score
Tournament = KiXtart Golf: Shuttle Puzzle
Processing Start = 2006/09/14 09:04:00.467
Processing End = 2006/09/14 09:04:00.858
Duration = 0000/00/00 00:00:00.390
KiXGolf Score = 502

Thank you for participating in KiXtart Golf!

_________________________
It's better to have scripted and died, then to never have scripted at all

Top
#167297 - 2006-09-14 11:17 AM Re: KiXgolf: Shuttle Puzzle - Private Round
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
I've been looking long and hard for some shortening with alternative methods and got strokes off... never got the code working though.
anyways, here's shortened version of the old code:
Code:

Shuttle Puzzle passed all 10 tests (100% correct)

KiXtart
KiXtart Version = 4.53 Release Candidate 1
KiXforms Version =
KiXGolf Script = kixgolf_shuttle.kix

Computer
OS = Windows XP Professional
CPU = Intel Pentium Model 13
Speed = 1866 MHz
Memory = 760 MB

KiXGolf Scoring Engine
Scoring Engine = 3.3

KiXtart Golf Score
Tournament = KiXtart Golf: Shuttle Puzzle
Processing Start = 2006/09/14 12:16:19.593
Processing End = 2006/09/14 12:16:20.281
Duration = 0000/00/00 00:00:00.688
KiXGolf Score = 358


Top
#167298 - 2006-09-14 11:20 AM Re: KiXgolf: Shuttle Puzzle - Private Round
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
KiXGolf Score = 355
Top
#167299 - 2006-09-14 04:28 PM Re: KiXgolf: Shuttle Puzzle - Private Round
Witto Offline
MM club member
*****

Registered: 2004-09-29
Posts: 1828
Loc: Belgium
Quote:


  • 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.





This means the UDF may call other UDF's?

Top
Page 6 of 10 « First<45678>Last »


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

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

Generated in 0.088 seconds in which 0.03 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