Only just got time to look at this this morning.

Not as tricky as I thought it would be, without any golfing i get:
 Quote:
Running Test 1...Done
Running Test 2...Done
Running Test 3...Done
Running Test 4...Done
Running Test 5...Done
Running Test 6...Done
Running Test 7...Done
Running Test 8...Done
Running Test 9...Done
Running Test 10...Done
Your solution passed all tests

Your solution passed all tests

KiXtart
KiXtart Version = 4.53
KiXGolf Script = kixgolf_lp.KIX

KiXGolf Scoring Engine
Scoring Engine = 3.3

KiXtart Golf Score
Tournament = Linear Pachinko
Processing Start = 2007/10/11 10:11:59.570
Processing End = 2007/10/11 10:11:59.585
Duration = 0000/00/00 00:00:00.014
KiXGolf Score = 196

Thank you for participating in KiXtart Golf!


Not sure if I'm going to have time to golf the code down.