Page 2 of 2 <12
Topic Options
#209238 - 2014-07-08 03:26 PM Re: Kixgolf - Win, Win, or Draw - Public Round [Re: Glenn Barnas]
Allen Administrator Offline
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4531
Loc: USA
No golfing going on?
Top
#209239 - 2014-07-08 03:54 PM Re: Kixgolf - Win, Win, or Draw - Public Round [Re: Allen]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Hmm .. Jooels code seems tight.
And as the others are similar all we can do is to transform them to Jooels (seems futile to me)

But, I'll have another look at Jooels later this week (if time allows)
_________________________



Top
#209240 - 2014-07-08 04:24 PM Re: Kixgolf - Win, Win, or Draw - Public Round [Re: Jochen]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
It would be the first time ever that winner code of private can't be shortened
_________________________



Top
#209241 - 2014-07-08 04:44 PM Re: Kixgolf - Win, Win, or Draw - Public Round [Re: Jochen]
Allen Administrator Offline
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4531
Loc: USA
Actually this would be the third time. Drill did it once, and Lonk did it last time if my memory serves.
Top
#209242 - 2014-07-08 05:00 PM Re: Kixgolf - Win, Win, or Draw - Public Round [Re: Allen]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Oh yeah,
forgot about the last one.. too much confusion there ;\)
_________________________



Top
#209243 - 2014-07-09 07:38 AM Re: Kixgolf - Win, Win, or Draw - Public Round [Re: Jochen]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22344
Loc: OK
And that's why it's a wonder why I didn't get my usual fight with drill \:\(
_________________________
!

download KiXnet

Top
#209244 - 2014-07-13 11:02 AM Re: Kixgolf - Win, Win, or Draw - Public Round [Re: Lonkero]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Ok, giving up on Jooels code.. no more improvements possible (at least for me)

Congratulations.

Fun round this one, a bit lacking on public, but fun anyway \:\)
Looking forward to the next one.
_________________________



Top
#209245 - 2014-07-13 04:52 PM Re: Kixgolf - Win, Win, or Draw - Public Round [Re: Jochen]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22344
Loc: OK
was worth the extra time this morning...

222!
 Code:
function a($) 
dim $D,$r,$b,$n

for each $ in split($,',')
 $b=$
 do
  dim $t
  while $
   $t=$t+ (asc($) mod 96 & 63) mod 48
   $=right($,~)
  loop
  $=$t
 until 10>$

 $n=$n+$b+'='+$+', '
 
 $=b+(9-$)+($b^)

 if $D=$
  $r=Draw
 endif
 if $>$D
  $D=$
  $r='Winner='+$b
 endif

 $a=$n+$r
endfunction
_________________________
!

download KiXnet

Top
#209246 - 2014-07-13 04:56 PM Re: Kixgolf - Win, Win, or Draw - Public Round [Re: Lonkero]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22344
Loc: OK
219
 Code:
function a($) 
dim $D,$r,$n

for each $ in split($,',')
 $a=$
 do
  dim $t
  while $
   $t=$t+ (asc($) mod 96 & 63) mod 48
   $=right($,~)
  loop
  $=$t
 until 10>$

 $n=$n+$a+'='+$+', '
 
 $=b+(9-$)+($a^)

 if $D=$
  $r=Draw
 endif
 if $>$D
  $D=$
  $r='Winner='+$a
 endif

 $a=$n+$r
endfunction
_________________________
!

download KiXnet

Top
#209247 - 2014-07-14 02:04 AM Re: Kixgolf - Win, Win, or Draw - Public Round [Re: Lonkero]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22344
Loc: OK
Hmm... I think it's over
_________________________
!

download KiXnet

Top
#209248 - 2014-07-14 03:45 PM Re: Kixgolf - Win, Win, or Draw - Public Round [Re: Lonkero]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Damn, I was focused on the calculations, not on the structure
_________________________



Top
#209249 - 2014-07-14 04:58 PM Re: Kixgolf - Win, Win, or Draw - Public Round [Re: Jochen]
Allen Administrator Offline
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4531
Loc: USA
Good game. I'll post the scores asap.
Top
#209252 - 2014-07-14 06:31 PM Re: Kixgolf - Win, Win, or Draw - Public Round [Re: Jochen]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22344
Loc: OK
Jochen, I was too focusing on the calculations.
$=$-0.01*($b^)

being one of the prettiest, but only got to 227 with that.

but, at least we can smile on the fact that I was FINALLY able to remove one ending tag \:\)
_________________________
!

download KiXnet

Top
#209255 - 2014-07-14 09:48 PM Re: Kixgolf - Win, Win, or Draw - Public Round [Re: Lonkero]
BradV Offline
Seasoned Scripter
****

Registered: 2006-08-16
Posts: 685
Loc: Maryland, USA
Just got back from vacation. Looks like I missed it. I was trying to write a recursive algorithm. Probably would have been around 923 or so. \:\)
Top
#209451 - 2014-09-06 08:59 PM Re: Kixgolf - Win, Win, or Draw - Public Round [Re: BradV]
Allen Administrator Offline
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4531
Loc: USA
Sorry for the long delay. Scores!

 Code:
Private Round
Jooel       223  5  1
Howard      257  4  1
Jochen      267  3  1
Maciep      298  2  1
Stoke       368  1  1
Glenn       375  0  1
Arend       462  0  1
Drill       ***  0  1

Public Round
Jooel       219  5  1
Howard      257  4  0
Jochen      267  3  0
Maciep      298  2  0
Stoke       368  1  0
Glenn       375  0  0
Arend       462  0  0
Drill       ***  0  0

Total Points
Jooel  12     
Howard  9    
Jochen  7    
Maciep  5    
Stoke   3    
Glenn   1    
Arend   1   
Drill   1   

*** Drill did not submit his code.

Top
Page 2 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 320 anonymous users online.
Newest Members
Kelly001, MichaelK72, Janneman, standardbruker, maikoenig2001
17773 Registered Users

Generated in 0.082 seconds in which 0.057 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