Page 7 of 9 « First<56789>
Topic Options
#199367 - 2010-08-06 08:28 AM Re: KixGolf - Luhn's Mod [Re: Allen]
DrillSergeant Offline
MM club member
*****

Registered: 2004-07-09
Posts: 1164
Loc: Eijsden, the Netherlands
A night of sleep does the mind good ;-)

 Code:

KiXtart
KiXtart Version  = 4.61
KiXGolf Script   = kixgolf_lm.KIX

Computer
OS               = Windows XP Home Edition
CPU              = Intel Pentium III
Speed            = 2500 MHz
Memory           = 2048 MB

KiXGolf Scoring Engine
Scoring Engine   = 3.0.3

KiXtart Golf Score
Tournament       = KiXtart Golf: Luhn's Mod
Processing Start = 2010/08/06 08:26:26.734
Processing End   = 2010/08/06 08:26:26.765
Duration         = 0000/00/00 00:00:00.030
# Tests Run      = 63
# Tests Passed   = 63
# Tests Failed   = 0
Result           = passed
KiXGolf Score    = 136
 
Thank you for participating in KiXtart Golf!
_________________________
The Code is out there

Top
#199368 - 2010-08-06 12:01 PM Re: KixGolf - Luhn's Mod [Re: DrillSergeant]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
not in my case ..
stuck at 157. Will need to think of a completely different approach.

Wow, 136! I cannot even imagine what you and Jooel are doing there
_________________________



Top
#199369 - 2010-08-06 02:15 PM Re: KixGolf - Luhn's Mod [Re: Jochen]
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4672
Loc: The Netherlands
I'm just watching from the side and it is fun seeing all you guys golfing like crazy. The public round is even better but it usually results in working but unreadable code
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#199370 - 2010-08-06 03:02 PM Re: KixGolf - Luhn's Mod [Re: Mart]
Arend_ Moderator Offline
MM club member
*****

Registered: 2005-01-17
Posts: 1894
Loc: Hilversum, The Netherlands
Wish I understood the task, golfing isn't a problem, but these tasks I never understand. Respect for you guys \:\)
Top
#199372 - 2010-08-06 03:14 PM Re: KixGolf - Luhn's Mod [Re: Arend_]
Allen Administrator Online   shocked
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4545
Loc: USA
Come on Arend and Mart...

Its a string of numbers. You need to read it from right to left. Every 2nd digit you read, double it. If that value is greater than 10, say 14, add 1+4 to get 5, or if it was 16, add 1+6=7. Take these new single digits and stick them back into the original credit card number, and then add all the digits together. If the sum ends in 0, like 50 or 60 or 70, then its a valid credit card. Then you just have to check and make sure it is the proper number of digits and is a card your company accepts.

Top
#199373 - 2010-08-06 03:22 PM Re: KixGolf - Luhn's Mod [Re: Allen]
Arend_ Moderator Offline
MM club member
*****

Registered: 2005-01-17
Posts: 1894
Loc: Hilversum, The Netherlands
Ok, now why didn't you explain it like that in the first place? \:\)
Top
#199374 - 2010-08-06 03:24 PM Re: KixGolf - Luhn's Mod [Re: Arend_]
Allen Administrator Online   shocked
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4545
Loc: USA
One correction... replace "greater than 10" with "greater than 9"
Top
#199375 - 2010-08-06 04:05 PM Re: KixGolf - Luhn's Mod [Re: Allen]
Allen Administrator Online   shocked
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4545
Loc: USA
This is/was my first stab at hosting one of these and like anything, you learn from your mistakes. To be honest, most of those instructions came, word for word, off another website. If I do this again (and I likely will), I'll put more effort into rewording the instructions.

It's a lot more work than I would have ever imagined putting this together. Props to Jens for his past efforts.

Top
#199376 - 2010-08-06 04:33 PM Re: KixGolf - Luhn's Mod [Re: Allen]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
I don't know .. but as I read your second description (3 posts ago) I was a bit disappointed that this Golf round is so easy

Edited by Jochen (2010-08-06 04:34 PM)
Edit Reason: scratch 2 set 3
_________________________



Top
#199377 - 2010-08-06 04:40 PM Re: KixGolf - Luhn's Mod [Re: Allen]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Nah, only kidding you,
 Originally Posted By: Allen

It's a lot more work than I would have ever imagined putting this together. Props to Jens for his past efforts.


I can imagine and I guess we all do appreciate your efforts!
_________________________



Top
#199378 - 2010-08-06 04:46 PM Re: KixGolf - Luhn's Mod [Re: Jochen]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Oh hey, I have found another one... Positive moods can do wonders!


KiXtart
KiXtart Version  = 4.60
KiXGolf Script   = kixgolf_lm.kix

Computer
OS               = Windows XP Professional
CPU              = Intel Pentium Model 15
Speed            = 2399 MHz
Memory           = 2048 MB

KiXGolf Scoring Engine
Scoring Engine   = 3.0.3

KiXtart Golf Score
Tournament       = KiXtart Golf: Luhn's Mod
Processing Start = 2010/08/06 16:44:11.037
Processing End   = 2010/08/06 16:44:11.068
Duration         = 0000/00/00 00:00:00.031
# Tests Run      = 62
# Tests Passed   = 62
# Tests Failed   = 0
Result           = passed
KiXGolf Score    = 154

Thank you for participating in KiXtart Golf!


_________________________



Top
#199379 - 2010-08-06 04:53 PM Re: KixGolf - Luhn's Mod [Re: Jochen]
Allen Administrator Online   shocked
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4545
Loc: USA
 Quote:
I was a bit disappointed that this Golf round is so easy


Be careful what you wish for... ;\)

Top
#199380 - 2010-08-06 05:00 PM Re: KixGolf - Luhn's Mod [Re: Allen]
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4672
Loc: The Netherlands
 Originally Posted By: Allen
Come on Arend and Mart...
....


What Arend said.

Didn't get that much of all Golf tasks I've seen in the past but if you explain it like you did just now I do understand it. Too much work to participate this time.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#199381 - 2010-08-06 05:26 PM Re: KixGolf - Luhn's Mod [Re: Mart]
Benny69 Offline
Moderator
*****

Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
ok, now i am starting to make some headway.

KiXtart Version = 4.61
KiXGolf Script = kixgolf_lm.kix

Computer
OS = Windows Vista Ultimate Edition
CPU = Intel Pentium III
Speed = 2333 MHz
Memory = 2048 MB

KiXGolf Scoring Engine
Scoring Engine = 3.0.3

KiXtart Golf Score
Tournament = KiXtart Golf: Luhn's Mod
Processing Start = 2010/08/06 10:26:15.388
Processing End = 2010/08/06 10:26:15.419
Duration = 0000/00/00 00:00:00.031
# Tests Run = 62
# Tests Passed = 62
# Tests Failed = 0
Result = passed
KiXGolf Score = 198

Thank you for participating in KiXtart Golf!
Press any key to continue...
_________________________
Wait don't order yet,... get KiXforms Designer .NET 2.0 (Beta)
KiXforms Designer .NET 2.0 (Beta)

Top
#199382 - 2010-08-06 05:32 PM Re: KixGolf - Luhn's Mod [Re: Benny69]
Benny69 Offline
Moderator
*****

Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
KiXtart Version = 4.61
KiXGolf Script = kixgolf_lm.kix

Computer
OS = Windows Vista Ultimate Edition
CPU = Intel Pentium III
Speed = 2333 MHz
Memory = 2048 MB

KiXGolf Scoring Engine
Scoring Engine = 3.0.3

KiXtart Golf Score
Tournament = KiXtart Golf: Luhn's Mod
Processing Start = 2010/08/06 10:32:00.041
Processing End = 2010/08/06 10:32:00.072
Duration = 0000/00/00 00:00:00.031
# Tests Run = 62
# Tests Passed = 62
# Tests Failed = 0
Result = passed
KiXGolf Score = 194

Thank you for participating in KiXtart Golf!
_________________________
Wait don't order yet,... get KiXforms Designer .NET 2.0 (Beta)
KiXforms Designer .NET 2.0 (Beta)

Top
#199383 - 2010-08-06 05:42 PM Re: KixGolf - Luhn's Mod [Re: Benny69]
Benny69 Offline
Moderator
*****

Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
KiXtart Version = 4.61
KiXGolf Script = kixgolf_lm.kix

Computer
OS = Windows Vista Ultimate Edition
CPU = Intel Pentium III
Speed = 2333 MHz
Memory = 2048 MB

KiXGolf Scoring Engine
Scoring Engine = 3.0.3

KiXtart Golf Score
Tournament = KiXtart Golf: Luhn's Mod
Processing Start = 2010/08/06 10:42:54.132
Processing End = 2010/08/06 10:42:54.163
Duration = 0000/00/00 00:00:00.031
# Tests Run = 62
# Tests Passed = 62
# Tests Failed = 0
Result = passed
KiXGolf Score = 190

Thank you for participating in KiXtart Golf!
_________________________
Wait don't order yet,... get KiXforms Designer .NET 2.0 (Beta)
KiXforms Designer .NET 2.0 (Beta)

Top
#199384 - 2010-08-06 05:49 PM Re: KixGolf - Luhn's Mod [Re: Benny69]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
It took quite a while to remember this little feature.. Harvest was not bad:


KiXtart
KiXtart Version  = 4.60
KiXGolf Script   = kixgolf_lm.kix

Computer
OS               = Windows XP Professional
CPU              = Intel Pentium Model 15
Speed            = 2399 MHz
Memory           = 2048 MB

KiXGolf Scoring Engine
Scoring Engine   = 3.0.3

KiXtart Golf Score
Tournament       = KiXtart Golf: Luhn's Mod
Processing Start = 2010/08/06 17:47:46.898
Processing End   = 2010/08/06 17:47:46.929
Duration         = 0000/00/00 00:00:00.030
# Tests Run      = 62
# Tests Passed   = 62
# Tests Failed   = 0
Result           = passed
KiXGolf Score    = 146

Thank you for participating in KiXtart Golf!

Wahey Dale, go get Glenn ^_^
_________________________



Top
#199385 - 2010-08-06 06:08 PM Re: KixGolf - Luhn's Mod [Re: Jochen]
Jochen Administrator Offline
KiX Supporter
*****

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

I just realised that Rogier is the only one using 63 tests instead of the official 62 ones.

Hey Rogier, is this the one test case that will break our codes like soap bubbles?
_________________________



Top
#199386 - 2010-08-06 07:30 PM Re: KixGolf - Luhn's Mod [Re: Jochen]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
nice jochen!
damn, roger, you gonna make me work all weekend?!?
_________________________
!

download KiXnet

Top
#199387 - 2010-08-06 08:21 PM Re: KixGolf - Luhn's Mod [Re: Lonkero]
Allen Administrator Online   shocked
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4545
Loc: USA
Drill stuck the example in his tests... I sincerely hope we have all our bases covered.
Top
Page 7 of 9 « First<56789>


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

Who's Online
1 registered (Allen) and 466 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.079 seconds in which 0.029 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